Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
I have a matrix where I'm trying to sort by the value. In the first screenshot the matrix has a field in the Rows and a measure in the Values, and the sorting obviously works.
However, once I add a field to the Columns, and then attempt to use the sort by feature when clicking the 3 dots, the sort becomes all out of sync. Any ideas here? I checked all the corresponding data types and all the fields/values involved come from just one singular dataset. Is this a common problem with PBI matrix visuals?
*Before I click the sort by feature, I did select the column of 2025, just lazy to go back and edit the screenshot*
2025 column values are not sorted correctly
Solved! Go to Solution.
Totally agree. A calculate measure filtering by year would totally work for what you are wanting to do.
I have run into this before too. I think what it's actually doing is sorting by the total Sum of the row it's filtered by and not by the years. For instance it looks like it's not sorting right for the 2025 year but when you total add the two columns for 2024 and 2025 together it is sorting descending. If you show the column subtotals on the matrix you will see that those totals are sorting descending.
That's more of a "why it's doing that" answer. If I find a workaround I will report back.
Appreciate your response. I'll also report back if I find a solution. In the meantime I think what I'm going to do is create custom measures for the appropriate timeframes that will get displayed in the matrix. That way I won't need to drag anything over to the Columns of the matrix. If everything is a measure then i can click within each column and sort appropriately.
Hi @justadashboard,
I wanted to check if you had the opportunity to review the information provided by @d_m_LNK. Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Totally agree. A calculate measure filtering by year would totally work for what you are wanting to do.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!