Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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
Solved! Go to Solution.
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.
Appreciate your time!
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.
Appreciate your time!
HI @amani1980
Are you sure ?
It works as expected,
Here is my video on Power BI rank function https://youtu.be/IlB3Ezlrmro
Regards,
Ritesh
Hi @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.
Hi @amani1980
It seems that the formula works as expected....
The pbix with the simulation is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.