Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
MidtownMo
Helper I
Helper I

How to sort a calculated column in a matrix

MidtownMo_2-1651152041663.png

I am seeking help on how to sort a matrix visual on a calculated column.  In the example shown I have a simple table and two matrix visuals.  The top right simply places the table in a matrix.  The lower right is a matrix of the monthly rank of product units.  I would like to sort the lower right matrix by one of the months.  How can this be done?  Thanks in advance.

2 REPLIES 2
amitchandak
Super User
Super User

@MidtownMo , You need to have sort column and mark that as sort column

 

Month Year = FORMAT([Date],"mmm")
Month Year sort = month([DAte])

 

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi.  I appreciate the quick response but it is not quite what I am looking for.  I don't have month year or a date table, so it's not as easy as sorting by date.  Instead, I'd like to be able to sort the matrix containing the rank on any month, preferably via a slicer.  Thanks.

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors