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

Cross tab for multiple columns?

tara
5 - Atom

Hi, I am new to Alteryx and would like to do the following summation but not sure how to use cross tab tool with multiple columns - can anyone assist? Thank you

 

Country

ID

code 1

%

code 2

%

X

1

A

100%

-

-

X

2

B

0%

D

100%

X

3

D

80%

A

20%

X

4

B

70%

D

30%

X

5

A

20%

B

80%

To new format as below

Code

ID

A

140%

B

150%

C

0

D

210%

 
 
2 REPLIES 2
BrandonB
Alteryx
Alteryx

Example solution taking select tools for each code/percent column, renaming them, then unioning them to stack and finally a summarize tool:

 

solution 1.png

tara
5 - Atom

Great thank you!

Labels
Top Solution Authors