Forum Discussion
Remove Duplicate Ranking
- Anonymous6 years ago
HI Anonymous ,
The last 2 Sales Person have the same amount of Sales and that is why it is showingin the TOP 10 employees by Sales.
Incase you want to show 10 employees, you will need to break the ranks ( but this will not give a clear picture to the person whom you are sharing this dashboard) as both Rajesh and Rishant has 97 units of Sales.
Anyways incase you want to break ties.
Create a new measure
Randome = RAND()Add [Randome] to Rank MeasureRank Employee =var a = RANKX(ALL(Sheet1[RetailerName]),[Quantity Sold per Employee]) + [Randome]RETURNaRegards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Anonymous , refer this to break tie
https://databear.com/how-to-use-the-dax-rankx-function-in-power-bi/
https://forum.enterprisedna.co/t/rank-unique-ranking-when-there-are-duplicate-values/2815
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415