Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
Essentially, my data has two country columns: producing country and policy country. Every cell in the data has a non-blank pair of producing country and policy country. In addition, every cell has a whole number value for Rework (0, 1, ...).
I am attempting to make a dynamic matrix displaying the top 10 policy countries by avg rework for the most recent quarter in the rows, and the corresponding top 10 producing countries by avg rework in the most recent quarter for those top 10 policy countries in the columns. The only partial solution I have found so far is to create a new calculated column that statically assigns each producing country a rank:
The top 10 policy countries by avg rework are correct and sorted correctly, and the corresponding top 10 producing countries by avg rework for those top 10 selected policy countries are correct. However, the producing country sort is not correct. It seems to be using the static, pre-defined calculated column rank, as displayed by the numbers on top. Is there a way to have the sorting change dynamically to keep the high to low producing countries in order from left to right?
Solved! Go to Solution.
@fansari
you need to add the rank as measure in the matrix, and you can then sort base on it .
you can do it like this https://www.youtube.com/watch?v=1bp_e-ik7aA
i think it could be done for you, since you have limited nb of columns ( = 10 ) , so you can hide them using this technique .
If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos button 👍🤠
@fansari
you need to add the rank as measure in the matrix, and you can then sort base on it .
you can do it like this https://www.youtube.com/watch?v=1bp_e-ik7aA
i think it could be done for you, since you have limited nb of columns ( = 10 ) , so you can hide them using this technique .
If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos button 👍🤠
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
66 | |
65 | |
56 | |
39 | |
27 |
User | Count |
---|---|
85 | |
59 | |
45 | |
43 | |
39 |