The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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.
解決済み

Transposition of fields

FranckG
メテオール

Hi all,

 

From this table :

 

Id     Var

1     A

1     B

2     C

2     A

2     Y

3     Z

 

I'd like to obtain :

 

Id     A     B     C     Y     Z

1     1     1       0      0     0

2     1     0       1      1     0

3     0     0       0      0     0

 

Is it possible with Alteryx Designer?

 

Thanks!

 

Franck

1件の返信1
JordanB
Alteryx Alumni (Retired)

Hi @FranckG

 

I have attached a sample workflow built in Alteryx 10.6. 

 

I the used a crosstab tool to get the headers you needed with a count of the values as the methodology. I then used the data cleansing tool and dynamic rename to get the desired output.

 

Best,

 

Jordan Barker

Solutions Consultant 

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