Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I am attempting to create a matrix in which both the rows (PO country) and the columns (policy country) dynamically change based on the selected filters for other columns (tier and product). I want the top 10 PO countries and the top 10 policy countries (sorted by request count) to display. However, because of the multiple topN restriction on matrix visuals, I have only been able to dynamically display the top 10 PO countries, and the top 10 policy countries are static.
I created the following measure, and in a table with just the policy countries, it gives a dynamic ranking of the policy countries. However, when I try to filter only the top 10 for this measure on the matrix, all the policy countries show, not the top 10.
@fansari , see one of the two can help
TOPN with Two columns
2 column top N = CALCULATE([Net], TOPN(10, SUMMARIZE(ALLSELECTED('Item'), 'Item'[Brand], 'Item'[Category]), [Net],DESC),VALUES('Item'[Brand]), VALUES('Item'[Category]) )
or
https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
11 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |