Forum Discussion
Ranking based on measure
- 6 years ago
Hi Vish24 ,
At first, you need to add an index coloumn in the query editor.
Then refer to the following measure:
Measure = MINX ( FILTER ( SELECTCOLUMNS ( ALLSELECTED ( 'Table' ), "index", 'Table'[Index], "rank", RANKX ( ALLSELECTED ( 'Table' ), 'Table'[Column2],, DESC, DENSE ) ), [index] = MAX ( 'Table'[Index] ) ), [rank] )Here is my test file for your reference.
Refer this :https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
Also in this blog, I filter on top brand. Refer :Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
- Vish246 years ago
Helper II
I want to show the ranking only for the selected person.