Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Alternative to the Excel "rank" function

janez_007
7 - Meteor

hi Alteryx community,

 

we're (our department) converting analytics trainings for non data savvy / technical people from Excel to Alteryx and came across a challenge - Alteryx does not have a "rank" function, which is needed for one of the exercises. Since we market Alteryx as "better and simpler than Excel" I am looking for the simplest solution (not a macro) for non technical people.

 

Use case – we have 15 branches and 3 indicators per branch. We want to select 5 most risky branches (based on the indicators).

 

  • Solution in Excel
    • Use the "rank" function for all 3 indicators, sum the rankings and rank the "sum of ranks" --> select top 5

 

  • Solution in Alteryx (my current idea):
    • Sort data by 1st indicator & add "record ID", sort by 2nd  & add "record ID", sort by 3rd indicator & add "record ID"
    • Sum the indicator ranks (all three record ID columns) and sort the "sum of ranks"

This seems unnecessarily complex. Any other ideas (even if totally out of the box)?

 

Thank you.

 

 

 

 

 

4 REPLIES 4
grossal
15 - Aurora
15 - Aurora

Hi @janez_007,

 

Not sure if I understand it correctly but here is what I would do:

 

- Sort by all criteria at once

- Use 3x Multi-Row Formulas to create the Ranks (with different group by option each time)

- Build sum

- Sort 

 

It doesn't really save much, but at least a bit.

 

Best

Alex

RolandSchubert
16 - Nebula
16 - Nebula

Hi @janez_007 ,

 

in general, Alteryx is better and simpler than Excel, even though there are some functions that look easier with Excel . I have a different approach, not sure if this is really "easier", but maybe an option.

 

17-04-_2020_15-08-22.png

 

Hope this is helpful.

 

Best,

 

Roland

danilang
19 - Altair
19 - Altair

Hi @janez_007 

 

Here's another option

danilang_1-1587129955564.png

 

 

 

Transpose the data using branch as the key. Sum the indicators and join back to your main data on Branch.  Sort on TotalRisk descending giving you

danilang_0-1587129849011.png

 

Dan

janez_007
7 - Meteor

thanks, this looks awesome!

Labels