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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Sort chart by month hierachy, but not name

Hello All,

I have the issue that I can't sort chart by month logic (hierarcy). It sorts months by alphabetical order.

 

bogachev_0-1612863824719.png

 

How to change it?

If I do additional column with month number, how to add it to sorting?

Thank you!

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @Anonymous 

Download your sample PBIX with solution

If you create a column that uses the same date for each separate date in the month and use that column as your axis, this achieves what you want.

sortcol.png

sortcols.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

5 REPLIES 5
PhilipTreacy
Super User
Super User

Hi @Anonymous 

Download your sample PBIX with solution

If you create a column that uses the same date for each separate date in the month and use that column as your axis, this achieves what you want.

sortcol.png

sortcols.png

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Thank you so much for your help!

Tahreem24
Super User
Super User

@Anonymous , Can you share some more context on column you used on X-Axis for Month?

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
PhilipTreacy
Super User
Super User

Hi @Anonymous 

How exactly is your data structured?  Are you using real dates in a Date column? 

If I create some sample data 

sd.png

 

It sorts correctly by date if you just add date to the Axis - set it to Date not the hierarchy.

 

dato.png

 

axsor.png

 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Hello @PhilipTreacy ,

I made test file https://hpe-my.sharepoint.com/:u:/p/bogachev/Eekmw21xueZGiDTyOwXbqfMBkMOS246t9x4vGT3GAi_MUw?e=DwxKlq

I tried to add as "date", but not hierarchy - unfortunately doesn't work for me 😞

Could you be so kind to check it?

Thank you!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors