In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start 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