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
| User | Count |
|---|---|
| 43 | |
| 35 | |
| 29 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 56 | |
| 40 | |
| 21 | |
| 19 |