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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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