Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Grouping by multiple columns and listing differences

The1804
7 - Meteor

Hi,

 

I am brand new to Alteryx so this question might be on the easier side however I was not able to find similar topic in Alteryx Community.

 

My workflow needs to

1. List all combinations of first 2 columns as unique records

2. Count occurrences of each unique record

3. List all values from 3rd column (that have first 2 columns in common) separated by comma 

 

Any help would be highly appreciated.

 

Sample Input:

NumAnimalCountry
10100CatMY
10100CatTW
10100CatCH
10100DogCY
10100DogCZ
10300TurtleMY
10300TurtleTW
10300TurtleCZ
10400TurtleQA
10400TurtleMY

 

Expected Output

NumAnimalCountCountry
10100Cat3MY, TW, CH
10100Dog2CY, CZ
10300Turtle3MY, TW, CZ
10400Turtle2QA, MY
2 REPLIES 2
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @The1804,

 

I think this is what you're trying to achieve?

 

Jonathan-Sherman_0-1589895857998.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Regards,

Jonathan

 

The1804
7 - Meteor

This is exactly what I needed. I can't believe it could be achieved with just Summarize...

Thank you very much!

Labels