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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Map in Power BI with with fixed bubble size of X radius around points.

Hi,

 

I dont know if its possible but I need to make a map showing store locations with bubble size around it up to 400 mi in radius, I know the limit with ArcGIS Maps is only like 100 miles is there any way to do this with AZURE maps or other maps in power bi? 

3 REPLIES 3
cholton
Frequent Visitor

I wanted to do this for the U.S. using free tools built into Power BI. Since bubble size by distance wasn't an option, I did this at the U.S. county level. Whether this method works for other countries will depend on whether the sort of distance file I started with is available or can be created. If you have latitude and longitude for the center of all areas of interest, you can use a measure in PowerBI to find the distances using the Haversine formula without the need for a file where the distances are already recorded. I found that the U.S. National Bureau of Economic Research offers a file with calculated distances from every U.S. county (FIPS code) to every other U.S. county. Using this list of paired locations with distances, I used this method:

  • Leave the first division (county FIPS) list unaltered
  • Merge the second division list with a list of the locations of interest 
  • Create a conditional column based on whether the distance bewteen divisions provided in the file is within the bubble range, in your case, 400 miles. For my need, I used three distance ranges for the conditional column to produce two circle colors and color the background a third color.
  • If you want the center of the bubble to be a different color, append a list of the divisions of interest with the distances set to zero from themselves and the conditional column value set to whatever you want to call your locations in the map legend
  • To keep only the minimum distances, sort the rows ascending by distance and then remove duplicates
  • On the pre-loaded, free Azure map, use the conditional column as the legend
cholton
Frequent Visitor

Hi, OP. Did you figure out an answer? I have a similar need. In case the CST who replied previously sees this, the pages you link do not address this need.

v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

Please review the content in the following links and check whether the related maps or method can as an alternative.

Power BI Bubble Map, Shape Map and Filled Map Example

Add a bubble layer

Best Regards

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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