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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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.
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 39 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 95 | |
| 78 | |
| 34 | |
| 28 | |
| 25 |