Alteryx Designer Desktop Discussions

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

Crosstab or similar

Sammy22
8 - Asteroid

i need to convert data on the left into the right table which will show how many of each combinations there are. not sure how to go about this!

 

OrderType Combination 1Combination 2Count
Breadwhite whitewholemeal2
Breadwholemeal whitewhite1
Bunwhite    
Bunwhite    
Baguettewhite    
Baguettewholemeal    
2 REPLIES 2
JamesCharnley
13 - Pulsar

You should be able to achieve this with a combination of creating a tag, and then aggregating. My multi-row tool is grouping together the order, then the first summarize is concatenating the types, before the second summarize can count, and lastly splitting the concatenation back into its own columns.

 

JamesCharnley_0-1664458160097.png

 

gautiergodard
13 - Pulsar

Hi Sammy,

To get the different combinations you could do something like the attached, however I don't understand what the 'Count' column is meant to be counting based on this example - could you confirm? I've included a way to count the unique combinations as a starting point.

 

**Please like and mark this thread as resolved if this provided an answer to your question**

Labels