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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Matrix MonthName column showing out of order

 

I have a date dimension table sorted based on the unique date field and even then I am running into below MonthName Year showing out of order.

Any help is greatly appreciated to fix these column orders.

Screen.pngSort.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

You can create a month sort column like

Moth year sort = format([Date],"YYYYMM")

And mark it as sort column

Sort_by_column.pngSortnewribbion.png

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
amitchandak
Super User
Super User

You can create a month sort column like

Moth year sort = format([Date],"YYYYMM")

And mark it as sort column

Sort_by_column.pngSortnewribbion.png

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

Looks like the mistake I have done was, I am applying the sorting by Date on a Column which is not being used in Report.

After Applying the sort for MMM YYYY column based on Date filed the issue was fixed.

 

Thank you @amitchandak @Greg_Deckler 

Anonymous
Not applicable

Hi @Anonymous ,

Is there anything else need help about this thread? If no, could you please mark the helpful post as Answered? It will help other member in the community find it easily if they face the similar problem with you. Thank you.

Best Regards

Rena

Greg_Deckler
Community Champion
Community Champion

You typically need to create a MonthSort column like MonthSort = MONTH([Date]) and then you set the Sort By for you column to sort by MonthSort.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.