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
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
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!

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.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.