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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
robarivas
Post Patron
Post Patron

Dynamic Ranking

Need help wrting a DAX measure to do dynamic ranking. I have a table visual in Power BI that has 4 columns. Column 1 is a dimension from a lookup table and columns 2 and 3 are dimensions from a second lookup table. The 4th column is a measure (based primarily on a single fact table although it does have filter logic built in to it). I also have 2 other page filters (each from totally different lookup tables) active. I want to be able to dynamically filter my table visual to the top 25 measure values. If I only had 2 columns (1 lookup dimension and the 1 measure) then the built in Top N functionality would allow me to easily do this. However, I'm stumped as to how to have that Top N functionality work across 3 columns simultaneously. None of the articles on RANKX I found seemed to address how to do ranking across multiple tables simultaneously.

1 REPLY 1
Anonymous
Not applicable

Hi @robarivas

I've done dynamical ranking before. Can you provide a picture or sample table of your data, so I can help you with making the right mesure?

 

Best,

Martin

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.