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.

Count of Items Determined by Where it Falls in the Range

ancook
6 - Meteoroid

I am trying to create a workflow that will quickly categorize my data determined on the range it falls in. For example, for the data below I would want to know that there are 2 animals that have 0 spots, 3 animals that have 2-50 spots, and 2 animals that have 51- 1000 spots. How would I do this? 

 

Animal

# of Spots 

Giraffe500
Cheetah1000
Dog2
Bear0
Frog10
Elephant0
Lady bug15
4 REPLIES 4
alexnajm
19 - Altair
19 - Altair

The Tile tool set to the Manual options so you can set those cutoffs will likely be your best bet! Then you can do whatever you need to get the count - likely a summarize tool. Here is a start:

 

Otherwise you might just look at doing an IF statement to create the groups based on the buckets you want!

alexnajm
19 - Altair
19 - Altair

Just make sure your [# of Spots] column is set to be numeric: https://help.alteryx.com/current/en/designer/tools/preparation/tile-tool.html#idm45436774327904

 

It will give you a Tile Number based on what bucket it falls into, plus the recordID of that value in the group with the Tile Sequence Number

Manoj_k
10 - Fireball

Hi @ancook you can use the tile function to create your own Bins as attached in the screenshot

 

Screenshot 2024-03-06 021421.png

apathetichell
20 - Arcturus

there is also the otherwise pointless multi-field binning tool. which is basically a macro with a tile tool inside.

Labels
Top Solution Authors