Forum Discussion
el_lloydie
10 years agoNew Member
Ranking help please
Hi guys I'm very new to this so I could well be running before I can walk. I essentially have a table that details suppliers with a monthly performance score. Can anyone help me with a fo...
- 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
achinm45
10 years agoAdvocate IV
There is RANKX function in DAX. You can use that to Rank.
ADD a new Column in your table . Lets Say we call it as Rank
Rank = RANKX(ALL(Table),MonthlyPerformanceScore,Number of Jobs)
I hope this works
BR
Achin