This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi.
I have created a ranking table of our markets, based on last 12 month's revenues.
I have also included a comparison (rank change) with previous year's ranking.
The challenge I have not yet resolved is how to maintain the correct rank change vs previous year, when I apply a TopN-filter on the table. I apply the TopN-filter using the Filters pane.
See below - for example, Market A and B are no longer showing 0 in Rank Change vs PY.
The Revenues L12m is correct.
Any ideas on how to resolve this?
DAX measures below.
Hi @konradjonsson ,
it is difficult for me to say where the problem is without using your real database.
I have tried with a sample database build by myself, but it seems that your measures are all correctly created.
Maybe you can try to substitute ALSELECTED with ALL and see what happen.
Hi @mangaus1111
Thank you for suggestion.
Replacing ALLSELECTED with ALL did however not solve the problem.
I have seen a video (from Marco Russo at sqlbi) where the TopN-function is built into a measure (instead of using the Filters pane). I will try and see if it helps.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 25 | |
| 22 | |
| 22 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 43 | |
| 41 | |
| 39 | |
| 21 | |
| 19 |