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