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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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