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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
gabrielmission7
Frequent Visitor

X-axis Timeframe Sorting Issue

Hello,

 

I have a "Line and Stacked Column Chart" with X-axis running as timeframe that is currently ordered as follows:
2015, 2016, 2017, 2018, 2019-01, 2019-02, ... , 2019-12

I'd like to rename them as follows:

 

FY 2015, FY 2016, FY 2017, FY 2018, Jan, Feb, ..., Dec

However, as soon as I change to the renamed format, the sorting is all messed up. Any suggestions?

 

TIA!

 

Gab

1 ACCEPTED SOLUTION
mahenkj2
Solution Sage
Solution Sage

Hi @gabrielmission7 

 

In such coditions, you may use an additional column with sorting order as desired and sort the x-axis column with this sort column.

 

Please let me know if it is clear enough for you. Search 'Sort by column' furnction report page:

 

mahenkj2_0-1688799665374.png

 

 

Hope it helps.

 

View solution in original post

2 REPLIES 2
gabrielmission7
Frequent Visitor

Great tip, @mahenkj2 ! Thanks for the suggestion. It works like a charm.

mahenkj2
Solution Sage
Solution Sage

Hi @gabrielmission7 

 

In such coditions, you may use an additional column with sorting order as desired and sort the x-axis column with this sort column.

 

Please let me know if it is clear enough for you. Search 'Sort by column' furnction report page:

 

mahenkj2_0-1688799665374.png

 

 

Hope it helps.

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors