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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
When in Matrix we put the branch nad customer by revenue and we want to top 5 customer by revenue each branch how will we do that?
To show the top 5 customers by revenue for each branch in a matrix, you can follow these steps:
Add the Branch and Customer columns to the matrix.
Add the Revenue measure to the matrix.
Click on the Revenue measure in the Values pane and select "Value Field Settings."
In the "Value Field Settings" window, select the "Advanced" option.
In the "Advanced" window, select the "By Category" option.
In the "By Category" window, select the "Top" option and set the value to 5.
Select the "Branch" column in the matrix.
In the "Visualizations" pane, click on the "Format" button.
In the "Format" window, select the "Top N" option and set the value to 5.
This will show the top 5 customers by revenue for each branch in the matrix. The matrix will be sorted by revenue, with the top 5 customers for each branch displayed.
@Anonymous , use TOPN measure
calculate([revenue], TOPN(5,allselected(Table[Customer]), [Revenue],desc))
Assuming revenue is a measure
You can use TOPN/Window
Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 20 | |
| 20 | |
| 20 | |
| 19 |