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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
vivien57
Impactful Individual
Impactful Individual

Etrange sort scatter plot visual

Hello Everyone,

 

I am currently using a scatter plot configured like this

 

 

As we can see the sorting on the X axis is not respected. In fact, the sort is done according to the filed placed in legend.

 

If i remove thos field, the the sorting becomes correct.

 

 

 

do you have any idea ? How to get around the problem ? 

 

Thank in advance,

 

Vivien

11 REPLIES 11
Anonymous
Not applicable

Hi,
Is there any update regarding this issue ?

 

Thanks in advance,

Refael

v-chuncz-msft
Community Support
Community Support

@vivien57,

 

Add a calculated column, then select the Legend field and Sort using the Sort by Column button.

Column =
Table1[Age]
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

I created column 2, I used it and the problem remains the same. Why creating a calculated column with only the source value can solve the problem?

 

 

Thank in advance,

 

Vivien

@vivien57,

 

Keep your original fields for the visual. The new calculated column is used just for Sort by Column.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

If I do this I get the following error message:


4.pngThank in advance,

 

Vivien

@vivien57,

 

Check the following post as well.

https://community.powerbi.com/t5/Desktop/Custom-Sort-Order-in-Legend/td-p/503833

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The problem in my case is the sorting on the x-axis. Sorting is good as long as I'm not doing filters.

 

Once a filter is done, it makes a mix between the sorting of the legend and that of the x-axis.

themistoklis
Community Champion
Community Champion

@vivien57

 

After selecting the Age you also need to select Sort Ascending.

So it is a 2 step process:

1. Sort by Field

2. Sort Type (e.g. ASC or DESC)

Hello Thermistoklis,

 

Thanks for your feedback.

 

It does not work, that's what i did in the first picture.


Vivien

@vivien57

 

Can you please share the workspace with us?

Sorry, but it's not possible because it contains customer data... Man Sad

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors