cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors