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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
chillpill
Helper I
Helper I

Sorting by month number not working when trying to show months in correct order

I am attempting to sort this chart by showing the months in the correct order and sorting the Month column by the Month Number method is not working. What am I missing here?

 

Capture.JPGCapture1.JPG

1 ACCEPTED SOLUTION
grantsamborn
Solution Sage
Solution Sage

Hi @chillpill 

It looks like your visual is correct except for the sort order is reversed.  (The sort by MonthNo appears  to be working.)

At the top right corner of the visual, press "...", select "Sort axis" and choose "Sort Ascending".

Let me know if you have any questions.

View solution in original post

5 REPLIES 5
grantsamborn
Solution Sage
Solution Sage

Hi @chillpill 

It looks like your visual is correct except for the sort order is reversed.  (The sort by MonthNo appears  to be working.)

At the top right corner of the visual, press "...", select "Sort axis" and choose "Sort Ascending".

Let me know if you have any questions.

That did it, thank you!

Padycosmos
Solution Sage
Solution Sage

Hope this helps

Padycosmos_0-1677862714958.png

 

This is what I tried in my OP but it's not working so I must be doing something wrong. 

galaamri
Helper I
Helper I

Hi @chillpill 

Sort the column by Month Number. or Create a sepreate calendar table. 

First let's create a calendar table 

Calendar = CALENDAR(FIRSTDATE(table[date]),LASTDATE(table[date]))
then calculated column
Month= FORMAT('Calendar'[Date].[Date],"MMMM")
Year-Month-Code = FORMAT('Calendar'[Date],"YYYYMM")
Last step you would sort Month column by Year-Month-Code.
Please make sure calendar table and data table have a relationship 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.