Alteryx Designer Desktop Discussions

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

Transpose/Multiple Cross-Tabs?

anncat
6 - Meteoroid

I'm looking to either transpose or do multiple cross-tabs for the "Current dataset" below to the "Desired Result". My goal is to move the Year #, Quarter #, and Product Category so that they're going across the column headers instead of in one column each. 

 

Current Dataset

Product CategoryCustomer #VerticalYear #Quarter #Units
Series 1Customer 1Strategy201835
Series 2Customer 2Cloud201813
Series 1Customer 3Financial 2018220
Series 3Customer 4Cloud201831

 

Desired Result

Sum of Units Year #Quarter #Product Category 
  2018201820182018
  1233
VerticalCustomer #Series 2Series 1Series 1Series 3
CloudCustomer 23   
CloudCustomer 4   1
Financial Customer 3 20  
StrategyCustomer 1  5 

 

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

I think:

2018-11-20_22-24-58.png

 

- Make a cross tab for each of the header rows

- Do a cross tab for the data

- Union in fixed order to build table

- Select tool to reorder and tidy up

anncat
6 - Meteoroid

Thank you very much! This was super helpful in learning how to use multiple cross-tabs!

Labels