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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
dochtang
Helper I
Helper I

MonthShortName Not Sorting Correctly

Good morning,

 

I am using a matrix visual to create a Gannt Chart and one of my levels is MonthShortName. As can be seen in the image, The months do not sort properly. For example Jan comes after Feb in 2022, Dec comes before Nov in 2022, Nov comes before Oct in 2024 and Nov comes before Dec in 2025. This is strange because I have also added weekNo and they are also not sorted corretly.

 

Has anyone else come across this issue?

 

dochtang_0-1651150642439.png

 

1 ACCEPTED SOLUTION

Select the column, go to Column Tools in the ribbon and choose Sort by column. You can pick the column in there

View solution in original post

3 REPLIES 3
johnt75
Super User
Super User

Make sure that for MonthShortName the Sort By column is Month Number. That will fix the week number as well - the week number is sorted correctly but it is below MonthShortName in the hierarchy.

How do I sort by column?

Select the column, go to Column Tools in the ribbon and choose Sort by column. You can pick the column in there

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.