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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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