Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Rank values based upon multiple criteria (RankIF)

aralbrecht
7 - Meteor

I am attempting to populate the "Rank" field in column E below within Alteryx. I would like to rank values in column D based upon the values in columns A and B. This has proven to be challenging, since the ranking needs to be dynamic due to salespeople in column B overlapping regions.

 

For example, I need to rank which items Mike Smith sold the most of within the Northeast region. For Sue Johnson, I not only need to rank which items she sold the most of in the Midwest, but also how much she sold in the East region.

 

Does anyone know of a way to accomplish this in Alteryx? Or is there a different work-around for this? Seems like it would be a fairly-common function, but I cannot seem to find any way to get this to work.

 

Thanks in advance!

 

AlteryxRankIFHelp.png

4 REPLIES 4
AW26
Alteryx
Alteryx

Hello,

 

Please see the attached workflow. I bet there's a better way of doing it and hopefully someone can chime in with it but I think this will get you what you're looking for.

aralbrecht
7 - Meteor

Hello - I do not see an attachment?

AW26
Alteryx
Alteryx

Oops, here it is--

aralbrecht
7 - Meteor

Thank you!!

Labels