Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Transposition of fields

FranckG
7 - Meteor

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 REPLY 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 

Labels
Top Solution Authors