Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 64 | |
| 58 | |
| 31 | |
| 25 | |
| 25 |