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

Summarize / Group By

T_Lina
7 - Meteor

Dear Alteryx community, 

 

I have another challenge that I cannot seem to get my head around.

The summary tool with group by on class and then counting the numbers does not give me the correct results.

 

This is what my file looks like:

NumberItemClass
12341A
12342A
12343B
12344C
56781A
56782A
56783C

 And this is what I want to achieve: 

Result: How many numbers are assigned to each class

A2
B1
C2

 

Thanks a lot in advance!

 

BR

3 REPLIES 3
mceleavey
17 - Castor
17 - Castor

Hi @T_Lina ,

 

You are trying to count the different combinations of Class and Number so you need to add a Count Distinct on Number:

 

mceleavey_0-1619118145147.pngmceleavey_1-1619118156365.png

 

Hope this helps.

 

M.



Bulien

T_Lina
7 - Meteor

Thanks a lot @mceleavey - it worked !! 🙂 

mceleavey
17 - Castor
17 - Castor

no problem.gif



Bulien

Labels
Top Solution Authors