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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Sort by month number isnt sorting the months

Hi,

 

I have a calculated date table with month number being generated by

 

Month = month('Calendar'[Date])

 

The month name is generated by

 

Month Name = FORMAT('Calendar'[Date], "MMM")

 

The issue is if I even use the srt by column for month name to be month it does not put them in the correct order...

 

Any help appreciated.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous ,it should do in a visual, if you sort on the month name column. Make sure sort column is correctly marked

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @rodrigosan @amitchandak 

 

I have tried sorting on the visual and still experiencing this issue

Capture.PNG

 It is a DAX calculated table and sort by column is set to month

 

Thanks

 

rodrigosan
Responsive Resident
Responsive Resident

Hello, was your date table created in DAX or Power Query?

amitchandak
Super User
Super User

@Anonymous ,it should do in a visual, if you sort on the month name column. Make sure sort column is correctly marked

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

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
Anonymous
Not applicable

That resolved the issue.. thanks 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors