cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
donaldm
Helper III
Helper III

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 @donaldm,

 

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 @donaldm,

 

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

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 @donaldm,

 

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 @donaldm,

 

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

 

regards,

Sturla

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

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors