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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
TillerTechnical
Frequent Visitor

Month Sort by short name error

Hi There!

 

I have been tearing my sparse hair out re an error with sort orders for months.

 

Went through the whole Date table setup, sorted by month number, report Matrix works with long month name or number fine.

 

Change to Short Month name and it changes to alphabetical order instead. Have tried everything here and driving me nuts.

 

It worked on a previous report & have tried to copy everything, but this just will not work.

 

Cheers for any input

 

Drew

3 REPLIES 3
Anonymous
Not applicable

Hi @TillerTechnical,

I suppose you are trying to sort the text field which stored the short version of date values, right?
For this scenario, I think you can consider creating a custom sorting table for specific sorting orders.  You can refer to the following blog to know more about this.

Custom Sorting in Power BI 

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@TillerTechnical , If it month or month year you need a sort column 

 

--Month Year

Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")

 

Sort on Month Year sort 

 

Month = FORMAT([Date],"mmm")
Month sort = FORMAT([Date],"mm")

 

Sort on Month sort 

 

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

 

Sort Month Year.png

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks Amitchandak,

 

I did do that, setting up a month sort column and followed normal processes as you suggested, though it has not worked.

Helpful resources

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