Forum Discussion
Ranking help please
- 10 years ago
Hi EL_lloydie,
According to your description, you need to background sort them by score and get the top 10 suppliers, and display them order by jobs raised, right?
I have tested it on my local environment, the steps below is for you reference.
- Click Edit Queries > Edit Querie
- Click arrow in Overall Score column > Sort Descending
- Click Keep Rows > Keep Top Rows, type 10 in the Number of rows textbox.
- Click Close & Apply button
- Create a calculated column using the DAX below.
Rank = RANKX(Supplier,Supplier[Job Raised]) - Then display the data on the visuals.
Regards,
Charlie Liao
Thanks Achin
It sort of works, only I can't understand the rankings!
Below is my data (admittedly, sorted by score (high to low).
I need it to background sort them by score (high to low) and then by jobs raised (so that it goes high to low). Then the supplier at the top would be ranked 1, the next supplier would be 2 and so on.
Thanks,
Gareth
Hi EL_lloydie,
According to your description, you need to background sort them by score and get the top 10 suppliers, and display them order by jobs raised, right?
I have tested it on my local environment, the steps below is for you reference.
- Click Edit Queries > Edit Querie
- Click arrow in Overall Score column > Sort Descending
- Click Keep Rows > Keep Top Rows, type 10 in the Number of rows textbox.
- Click Close & Apply button
- Create a calculated column using the DAX below.
Rank = RANKX(Supplier,Supplier[Job Raised]) - Then display the data on the visuals.
Regards,
Charlie Liao