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
Hello:
I have a pivot table in my dashboard like this:
* there are like 24 stores.
| store_name | Share Of Sale |
| Store 1 | 45.34% |
| Store 2 | 41.45% |
| Store 3 | 37.22% |
| Store 4 | 35.62% |
| Store 5 | 34.73% |
I would like a DAX formula that would output me only the "Top 3 Store" based on Share of Sales. Share of Sales is already a DAX formula (i.e Subscription Sales/Total Sales)
The output should look like this:
| Rank | store_name |
| 1 | Store 1 |
| 2 | Store 2 |
| 3 | Store 3 |
Not sure how to go about doing this.
Hi @samnaw
another option with measure would be this:
RANK | Rank of Item =
RANKX(
ALL(Dim_Product),
[Aggregation | Sum]
)After putting the table in the visual you can sort the column with 1,2,3
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
Hi @samnaw
Do you want a measure is the following approach also fine? Has the advantages that you dont need additional measures.
Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.
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 |
|---|---|
| 43 | |
| 35 | |
| 35 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |