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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 68 | |
| 66 | |
| 58 |