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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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