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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi there,
I'm trying to sort a matrix by the latest column values (ascending/descending), these are Jun-2021 values in my case. Been trying to find a solution to this for quite awhile now but to no successs..
Thanks in advance!
Hi @Anonymous
Currently it is not possible to sort on an individual column in Matrix visual. There are some similar ideas you can vote for:
Microsoft Idea · matrix can be sorted by any column by clicking on the column header
Microsoft Idea · Sort in Matrix Visual, just like any column can be sorted in the visual in a Table.
Microsoft Idea · Matrix visual with asc and desc sorting on every column
Microsoft Idea · Add sort on a column feature to the matrix visualization
Regards,
Community Support Team _ Jing
@Anonymous,
Try this solution.
1. Create a calculated column equal to your existing [Month Year] column.
Month Year Desc Sort = DimDate[Month Year]
2. Create a calculated column for sorting. This requires column [Year Month Num], with values such as 202101.
Month Year Desc Sort Order = DimDate[Year Month Num] * -1
3. In the Data view, sort [Month Year Desc Sort] by [Month Year Desc Sort Order].
4. Use [Month Year Desc Sort] in a visual.
Proud to be a Super User!
Hi @DataInsights
Thank you for your reply!
Apologies, I think I did not state my question clearly. What I was trying to ask was how does one sort the latest column's values for the whole matrix, e.g. Jun-2021 values for the whole matrix?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.