ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Transforming a column to a row

hanswang09
メテオロイド

Hi, 

I have a simple question on transforming the data. This is the input format. 

Customer ID DateProduct 
111/16/2015A
111/16/2015B
111/16/2015C
111/16/2015D
111/16/2015E
111/16/2015E
111/16/2015F

 

And I want to transform/transpose SKU from a column to a row, which will look like this. 

Customer DateProduct 1Product 2Product 3Product 4Product 5Product 6
111/16/2015ABCDEF

 

I am not so familiar with transpose functions so any help is much appreciated. 

 

Thanks, 

 

4件の返信4
pcatterson
ボリード

The thing you need is a Cross Tab tool to accomplish this.

jack_morgan
コメット

Hey there!

Attached is a sample!

 

Thanks!

Jack

danielbrun2
ACE Emeritus
ACE Emeritus

Hi,

 

I am not quite sure what you are trying to achieve, but the attached workflow might point you in the rigtht direction.

 

I think what you are looking for is crosstab and not transpose.

 

Best,

Daniel

hanswang09
メテオロイド

Thank you very much for all your help. It works great. 

 

Best, 

Han

ラベル
トップのソリューション投稿者