Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
NidhiBhusari
Helper IV
Helper IV

Rank dynamically on drilling down/ from slicer

Hello All,

I am trying to rank the 4 dimensions(used in rows) based on drill-down. All 4 dimensions are coming from the same table. I have used the below DAX to get the ranking but it is giving me the incorrect output. 

Ex- If drill-down is on F_level_4 then ranking should be on this dimension, if I am drilling down further then using the next dimension ranks should be assigned.

It will be helpful even if ranking is assigned based on slicer selection.

Untitled.png

 




 

1 ACCEPTED SOLUTION

Hi @amitchandak ,

Thanks for the amazing trick. Its working. Thanks a lot.

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@NidhiBhusari , Try id isinscope can help

IsInScope - Switch Rank at different levels: https://youtu.be/kh0gezKICEM

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

Thanks for the amazing trick. Its working. Thanks a lot.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.