Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!