Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 45 | |
| 44 | |
| 20 | |
| 19 |
| User | Count |
|---|---|
| 73 | |
| 71 | |
| 34 | |
| 33 | |
| 31 |