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
juliamacg_
Frequent Visitor

Numerical order out of line in x-axis - separate sorting table?

Hello, team,

 

juliamacg__0-1668612168366.png

 

As you can see in the image, I have a line chart with an x-axis in ascending order but the numerical order is not obeyed. I found this article in the forum regarding a similar issue and the solution proposed is to create a separate sorting table, but it is not clear to me how that should be done. Could anyone help me with this?

 

Thank you so much!

 

1 ACCEPTED SOLUTION
Jayee
Responsive Resident
Responsive Resident

Hi @juliamacg_ ,

 

You can create another table or another calculated column also fine the data should be unique to the value you have used in the X-axis.

 

Example: a field value is <100 das then b field value is 100 (100 is a number type it works)

 

Then you can follow the steps in the article

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-deskto...

 

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!

 

View solution in original post

2 REPLIES 2
Jayee
Responsive Resident
Responsive Resident

Hi @juliamacg_ ,

 

You can create another table or another calculated column also fine the data should be unique to the value you have used in the X-axis.

 

Example: a field value is <100 das then b field value is 100 (100 is a number type it works)

 

Then you can follow the steps in the article

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-deskto...

 

If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!

 

This indeed worked, thank you for the help!

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.