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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
OLM
Helper I
Helper I

Scatter Plot: Legend added destroys the x-axis date order

Good day,

 

I have the following scatter plot:

y-asix: whole number

x-asix: date (hirerachy)

size: whole number (same field as the y-asix).

Legend: categories of client names(text).

 

Once I put the legend is distroys the date order. 

 

None of the search online has yielded any solution.

 

PLease advise.

 

As this is business content, I cannot share print screens.

 

Thank you for your educational enlightment. 

 

6 REPLIES 6
dk_dk
Super User
Super User

Hi @OLM ,

After you added the legend, click on the ... in the corner, Sort by, and select your date field.

dk_dk_0-1719412819172.png



For some reason the default behavior seems to be that the legend takes priority over the X-axis in this chart.


Hope this helps!


Best regards,
Daniel

 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Thank you dear Daniel, I have tried pre-posting here. I wish it was that easy. I am glad you may be helping others in pointing it out. When wanting to sort, it ignores it. Nothing happens sadly.

That's strange. If you can maybe upload a .pbix with your data, or a representative sample, I can have a look. Could be something with the datatypes being incorrect such that the sorting does not work as intended?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Sadly I cannot upload dummy data seeing it is highly confidential. Using x-asix date field did not work seeing the sorting was non-reactive. Now the x-asix is a text field date ("mmm-yy") which is sorted by a sortby integer column. And as mentioned, when I press "show as table" the order is kept perfectly, but not in the visual.

Can you try to add the sortby integer column to the visual, in the tooltips section, and see if you can sort the visual by that column, as per my screenshot?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Tried to sortby by integer field. Problem is that the legend takes over as ruling sorter and it is impossible to change.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.