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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
IanT76
Helper I
Helper I

Sort 'Months' in Matrix by chronological order

I'm trying to put some monthly data in a matrix but can't get the months to sort chronologically; I have a 'Month Number' column, which I've used succesfully to sorted my graphs (as per below) but can't get this to apply in the matrix table underneath - all help appreciated!

 

Annotation 2020-04-05 134854.png

 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@IanT76 

You have to create month sort column

 

Month Sort =  Month([Date])

For Month Year

Month Year sort = format([Date],"YYYYMM")

You have mark that as the sort column

Sort Month Year.pngSort Month.png

 

You can also refer to the files attached

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@IanT76 

You have to create month sort column

 

Month Sort =  Month([Date])

For Month Year

Month Year sort = format([Date],"YYYYMM")

You have mark that as the sort column

Sort Month Year.pngSort Month.png

 

You can also refer to the files attached

 

Thanks @amitchandak !

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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