Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Crosstab data and put categorical data into one cell separated by a coma

imadorkous1
7 - Meteor

How can I crosstab this sample data, and store the categorical data into one cell separated by comas?

Input

imadorkous1_0-1680640675149.png

 

Output:

imadorkous1_1-1680640701869.png

 

3 REPLIES 3
DataNath
17 - Castor
17 - Castor

Hey @imadorkous1, one of the String aggregation options we have in the Summarize tool is to concatenate values. If you just Group By [Name] and [CustomerName] and then concatenate the States, you'll arrive at your desired outcome:

 

DataNath_0-1680641075176.pngDataNath_1-1680641087256.png

Dina
9 - Comet

I would recommend use Summarize tool. Group by Name and Customer Name, concatenate State.

Dina_0-1680641363289.png

 

imadorkous1
7 - Meteor

@DataNath @Dina Thank you so much for the quick reply! and I cant believe I never knew this existed! Appreciate it!! I wish I could accept both solutions!

Labels
Top Solution Authors