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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
SchmitKS
Regular Visitor

How to change the sequence of an x -Axis?

Hello together,

 

I would like to show some costs over the month of a year, the month showed as numbers (e.g. 1 for january, 2 for february and so on). If I prepare the diagram, the month being the x-axis, I get the following sequence:

1 10 11 12 2 3 4 5 6 7 8 9

 

Is there a possiblity to change the sequence manually in the following way:

 

1 2 3 4 5 6 7 8 9 10 11 12  ?

 

Thank you for your help!

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @SchmitKS,

 

I think the data type of your column should be text here, as I can reproduce it if the column is in text. However, I change it to number, then it shows the result as you want.

 

1.png

 

If you still want to set data type of the month column to text, then you can make the month column sort by another column that the order is correct.

 

2.png

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @SchmitKS,

 

I think the data type of your column should be text here, as I can reproduce it if the column is in text. However, I change it to number, then it shows the result as you want.

 

1.png

 

If you still want to set data type of the month column to text, then you can make the month column sort by another column that the order is correct.

 

2.png

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hi @SchmitKS,

 

Does that make sense? If so , could you please mark this answer as a solution?

 

Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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