Forum Discussion
amani1980
1 year agoFrequent Visitor
Rank based on measure
Hello, I have an issue with my PBI model where I'm trying to rank people based on a measure. I have calculated rank using RANK function. However, rankings do not change when I toggle between year...
- 1 year ago
Thanks for the replies!
I was fumbling with RANKX for nearly a day and then stumbled upon RANK by accident (here in this forum) and it worked by accident and I didn't even realize it.
Rank Measure = RANK(DENSE,ALL(Names),ORDERBY([Measure],DESC),,)Appreciate your time!
Bibiano_Geraldo
Super User
1 year agoHi amani1980 ,
Based on your .pbix, your measure is working perfectly, as you can see in your table, when change the selection in the slicer the names are rearranged based on your Rank measure.