Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

How to tag values in a column as Hi/Mid/Lo

gizmoholic
6 - Meteoroid

I need to tag values in several columns as:

 

those with "0" will be tagged as N/A

top 30% = hi

bottom 30% = lo

everything else = mid

 

In the sample file, i added two test columns, but the tagging will also be applied to several similar columns with the same logic, just the values will be changing.

 

I was thinking of using the Sample tool, but i can only see "First n% of rows". Thank you

 

1 REPLY 1
FinnCharlton
13 - Pulsar

Hi @gizmoholic, here are a couple of ways to accomplish this. The first one normalises the values to percentiles based on VALUE, whereas the second chooses percentiles based on RANK. Choose whichever is relevant based on whether you want to look at value or count.

FinnCharlton_0-1683211082302.png

Hope this helps!

Labels