Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Group by and then a count of occurrence by field value

robertporternz
8 - Asteroid

i have a dataset that has 1 row per runner, and a race id , (so a many to one relationshio) it also has an additional column with a $ value for each runner. 

 

I can use the summarize tool to group by the race id and then count the runners , but I would like to have an additional few columns where I count based on a criteria of the $ value. 

 

How many in that race are below $5 , how many are below $10 etc,  

This is so I can have a dataset for the next step with machine learning.

 

What would be the best tool to use,  I have the latest designer with intelligence suite. 

 

 

4 REPLIES 4
ShankerV
17 - Castor

Hi @robertporternz 

 

Can you please share the sample data.

robertporternz
8 - Asteroid

No problems, here is a sample 

willemb
7 - Meteor

It sounds like you just need a Formula before the Summarize.

 

Create the new fields for each record first, then summarize after that:

 

willemb_0-1677144819068.png

 

ShankerV
17 - Castor

Hi @robertporternz 

 

One way of doing this.

 

ShankerV_0-1677144890136.png

 

Many thanks

Shanker V

Labels
Top Solution Authors