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
christyleebrink
New Member

Year over Year Bubble map

I'm trying to create a map of year over year values with a bubble map. I want last years values one color bubble and this years values a different color bubble. How do I accomplish this? Currently, when I click on last years and this years values, the bubbles take in the SUM of those values rather than plotting them distincly. 

Anyone know how this can be accomplished?

1 ACCEPTED SOLUTION
fhill
Resident Rockstar
Resident Rockstar

By default, Scatter Charts (I"m assuming your bubble map) doesn't like dates on the X or Y axis.  This link helped me create your solution:

https://community.powerbi.com/t5/Desktop/Scatter-with-date-on-X-and-time-on-Y/m-p/19030

 

Copy your Month colum and Right Click 'Transform' Month - Month to get just the month.  Make this a Whole Number data type.

 

Now use the '1-12' numbers as your X axis and your values as the Y axis AND put value in Details.  On the Legend, you can 'Date Hierarchy' your original Date (assuming in Date format) to just the year to get your Colored cirles.

 

Capture.PNG

 

 

** FYI - I had to play with the X & Y Axis Start / End values to make it look better, but that's easy to do under formatting.  You can also turn on 'Fill Point' to make the bubbles solid in color!  (Looks much better!)

 

Thank You,

FOrrest

 

Capture2.PNG




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




View solution in original post

1 REPLY 1
fhill
Resident Rockstar
Resident Rockstar

By default, Scatter Charts (I"m assuming your bubble map) doesn't like dates on the X or Y axis.  This link helped me create your solution:

https://community.powerbi.com/t5/Desktop/Scatter-with-date-on-X-and-time-on-Y/m-p/19030

 

Copy your Month colum and Right Click 'Transform' Month - Month to get just the month.  Make this a Whole Number data type.

 

Now use the '1-12' numbers as your X axis and your values as the Y axis AND put value in Details.  On the Legend, you can 'Date Hierarchy' your original Date (assuming in Date format) to just the year to get your Colored cirles.

 

Capture.PNG

 

 

** FYI - I had to play with the X & Y Axis Start / End values to make it look better, but that's easy to do under formatting.  You can also turn on 'Fill Point' to make the bubbles solid in color!  (Looks much better!)

 

Thank You,

FOrrest

 

Capture2.PNG




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




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.