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

Join 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.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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