Alteryx Designer Desktop Discussions

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

Transaction data: Identifying number of orders across categories

Abacus123
5 - Atom

Hi, 

 

I want to calculate the number of times each customer has bought product A, B, C and so on. 

 

The desired input and output are as follows: 

Screenshot (299).png

 

Can't seem to figure out how to do this. Please help. Thanks a ton!

 

 

1 REPLY 1
cjaneczko
13 - Pulsar

Text to Columns tool but set it to Text to Rows. Then use a Summarize tool and group by Customer ID and Group by and Count the Orders. Then Crosstab the results grouping by the Customer ID. If you want the Nulls to be 0's add a data cleanse or Multi Field Formula Tool to the end of the flow.

 

image.pngimage.png

Labels