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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors