Forum Discussion

amani1980's avatar
amani1980
Frequent Visitor
1 year ago
Solved

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 years using a slicer. It always shows the same rank (which is computed for all years) regardless of which year I select in the slicer. PBI Model here.

 

 

Can someone help me how to dyanmically rank based on a measure?

 

Thanks in advance,

AM

  • 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! 

6 Replies