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
mrothschild
Continued Contributor
Continued Contributor

Cluster Column Chart - sorting by dates

In the screenshot below, you will see that the x-axis is not sorting correctly.  When I drill up in the hierarchy, the quarters and years sort correctly.  Even if I add "Date" to the Axis hierarchy the results are the same.  

 

Any thoughts?

 

 

PBIX Image 1.PNG

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@mrothschild you have to month sort column in your model and sort you month wiht this month sort on modelling tab.

 

So add another column called Month Number which will be 1 for Jan, 2 for Feb and so on.

 

Selected Month column, go to modelling tab under sort by column, in drop down, select month number column. Basically you are telling model that you want to sort Month column by Month Number otherwise your Month column is sorted alphabetically which doesn't make sense in case of Month



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
parry2k
Super User
Super User

@mrothschild you have to month sort column in your model and sort you month wiht this month sort on modelling tab.

 

So add another column called Month Number which will be 1 for Jan, 2 for Feb and so on.

 

Selected Month column, go to modelling tab under sort by column, in drop down, select month number column. Basically you are telling model that you want to sort Month column by Month Number otherwise your Month column is sorted alphabetically which doesn't make sense in case of Month



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

mrothschild
Continued Contributor
Continued Contributor

Thanks, that did the trick!

 

 

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.