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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to arrange the date chronological order on Scatter graph

I have a scatter graph visualization with the following:

- X-axis: Date of Event

- Y-axis: Abs Gains/Losses

- Size: Abs Gains/Losses

- Legend (Color): Business Group

 

If I DO NOT add the Business Group field to Legend, I am able to get the x-axis to sort chronologically.  Not sure why the sorting changes as soon as I pull in Business Group.

 

Please help!!

 

Before adding to Legend2019-01-16_14-05-28.png

 

 

 

 

After adding to Legend

2019-01-16_13-58-03.png

 

 

 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

I have made a test to reproduce your scenario.

 

We could find that the sort will be affected by the lagend if you add the legend field. 

 

bubble chart.PNG

 

Here is a workaround which may help you.

 

You could try this custom visual Dot Plot by MAQ Software which could achieve your expected output by my test.

 

dot polt.PNG

 

More details, please refer to this attachment.

 

Best Regards,

Cherry

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

View solution in original post

5 REPLIES 5
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

I have made a test to reproduce your scenario.

 

We could find that the sort will be affected by the lagend if you add the legend field. 

 

bubble chart.PNG

 

Here is a workaround which may help you.

 

You could try this custom visual Dot Plot by MAQ Software which could achieve your expected output by my test.

 

dot polt.PNG

 

More details, please refer to this attachment.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Sherry,

 

Could you advise why this issue occurred? I was using a default MS PowerBI visualisation!

 

The visualisation you recommended has some issues with the sizing.  It seems the bubbles are smaller than the default visualisation...

Hi @Anonymous,

 

You could go to formatting —— Bubbles, then you could set the bubble size like below.

 

bubble size.PNG

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sturlaws
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

 

difficult to troubleshoot without knowing your data, but is the value you put on the x-axis formatted as date datatype?

 

regards,

Sturla

Anonymous
Not applicable

correct - the x-axis is formatted as date type (with removed date hirearchy).

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.