Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hey there, I feel like I'm going crazy trying to figure out this very simple functionality of what I would expect Power BI should be able to handle.
I have a matrix that has a list of names on the Rows, and on the Columns I have a column of Stages, which is 5 categorical values. As the Values I have a Count to give me the number of records in the table to give me the correct numbers. I need the matrix to sort descending by the Stage = "0 - Untouched Draft" to see who has the most in this stage.
There is no tooltip that I could add a field that only includes the Untouched Draft stages, so I'm at a loss for what to do. I have not been able to achieve this after working on it all day and have not found a working solution online, is there anyone who can help me out?
Solved! Go to Solution.
Hi @yosefzav,
Perhaps you can try to create a sorting table to link the current table. Then you can use the new table fields on the matrix column field to apply the custom sorting orders.
Custom Sorting in Power BI
Regards,
Xiaoxin Sheng
Hey @adudani thanks for reaching out. Unfortunately the sort doesn't appear for each of the categories, only for the totals or the list of names in the rows (unless that is a feature that has been added in a newer version of power bi). Also I just tried adding the measure into the rows as the last hierarchy level in the rows, but unfortunately it still doesn't allow me the option to sort by that field, just by the main row and column fields.
Hi @yosefzav,
Perhaps you can try to create a sorting table to link the current table. Then you can use the new table fields on the matrix column field to apply the custom sorting orders.
Custom Sorting in Power BI
Regards,
Xiaoxin Sheng
hi @yosefzav ,
Maybe try using the sort functionality available by hovering over the column of the matrix and right clicking near the arrow shown below?
if not , create a measure with calculate and in the filter context count those values having the relevant stage. using that in the last row of the matrix could help sorting ( note: would required not expanding into the last level of hierarchy)
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 |
---|---|
72 | |
71 | |
55 | |
37 | |
31 |
User | Count |
---|---|
87 | |
62 | |
61 | |
49 | |
45 |