skip to main content
Power BI
    • What is Power BI
    • Why Power BI
    • Customer stories
    • Data visuals
    • Security
    • Power BI Desktop
    • Power BI Pro
    • Power BI Premium
    • Power BI Mobile
    • Power BI Embedded
    • Power BI Report Server
  • Pricing
    • Azure + Power BI
    • Office 365 + Power BI
      • Energy
      • Healthcare
      • Manufacturing
      • Media
      • Retail
    • For analysts
    • For IT
      • Overview
      • Embedded analytics
      • Power BI visuals
      • Automation
      • Documentation
      • Community
    • Overview
    • Find consulting services
    • Partner showcase
    • Find a partner
    • Become a partner
    • Instructor-led training
    • Getting started
      • Overview
      • Online workshops
      • Self-guided learning
      • Webinars
      • Documentation
      • Roadmap
      • Overview
      • Issues
      • Give feedback
    • Blog
    • Business intelligence topics
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • Events
    • User groups
    • Community blog
    • Register
    • ·
    • Sign in
    • ·
    • Help
    Go To
    • Galleries
    • Community Connections & How-To Videos
    • COVID-19 Data Stories Gallery
    • Themes Gallery
    • Data Stories Gallery
    • R Script Showcase
    • Webinars and Video Gallery
    • Quick Measures Gallery
    • 2021 MSBizAppsSummit Gallery
    • 2020 MSBizAppsSummit Gallery
    • 2019 MSBizAppsSummit Gallery
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Microsoft Power BI Community
    • Galleries
    • Data Stories Gallery
    • Re: Display Points within a Distance Radius on a P...

    Re: Display Points within a Distance Radius on a Power BI Map

    01-22-2022 14:22 PM

    ks4050kt
    Regular Visitor
    1228 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    deldersveld
    deldersveld
    MVP
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    Display Points within a Distance Radius on a Power BI Map

    ‎03-20-2019 08:33 PM

    Detail on setup is on the DataVeld blog: https://dataveld.com/2019/03/20/display-points-within-a-distance-radius-on-a-power-bi-map/

     

    Download the PBIX here on the Data Stories Gallery.

    eyJrIjoiYzc0MTk4MTctZGRhYS00YmQyLWE5ZWItZGQ5N2YwZTgzZGM4IiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9

    Preview file
    666 KB
    Haversine DAX.pbix
    Labels:
    • Labels:
    • How To
    Message 1 of 8
    11,631 Views
    8
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    ks4050kt
    ks4050kt
    Regular Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎01-22-2022 02:22 PM

    @deldersveld You did great work! This is very helpful for me what I want to do could be solved with your example! Thanks a lot!!

    Message 8 of 8
    1,228 Views
    0
    Reply
    JoyceMachokoto
    JoyceMachokoto
    Frequent Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎07-22-2021 08:57 PM

    Does anyone know how I can get this to be by county/zipcode rather than city?

    Thanks in advance 

    Message 6 of 8
    3,104 Views
    0
    Reply
    some1else
    some1else Helper I
    Helper I
    In response to JoyceMachokoto
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎10-15-2021 07:18 AM

    There's probably a much efficient solution but if you can get the polygons for each ZIP/County you can then load the shape in QGIS and calculate their centroids (basically the middle of the polygon). That would result in a specific coordinate for each ZIP code you could use.

    Message 7 of 8
    2,216 Views
    0
    Reply
    AlexandreCruz
    AlexandreCruz
    New Member
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎07-28-2020 01:57 AM

    Hi thanks for the interresting post, but i can´t seen to understand how the maximum distance (km) filter works because there is no relation between any tables.

     

    Thanks for your time

    Message 5 of 8
    6,538 Views
    0
    Reply
    derektd
    derektd
    Frequent Visitor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎02-10-2020 12:18 PM

    I love this but I need a slight variation. I am trying to plot locations in reference to a different set of data points. This meets 90% of my requirements the only difference is I need to select from one set of locations to specify the reference point and the and plot locations from a different set for a certain area around that reference location. Any ideas how to accomplish that, or have you seen this done before.

     

    It seems your solution is very close it looks like I just need a secondary table with locations and then to figure out how to connect the two so when you select the reference point it plots out the surrounding locations from the second larger table.

    Message 3 of 8
    8,521 Views
    0
    Reply
    some1else
    some1else Helper I
    Helper I
    In response to derektd
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎05-13-2021 08:07 AM

    Maybe capturing the current selected value coordinates and suppling them to the analysis? Another cool thing would be calculating in meters, instead of kilometers.

    Message 4 of 8
    3,828 Views
    0
    Reply
    jcarville
    jcarville Skilled Sharer
    Skilled Sharer
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎03-21-2019 02:49 AM

    I haven't seen this done before with PBI, looking forward to reading the blog about it.

    Message 2 of 8
    11,576 Views
    0
    Reply

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Automate
    • Power Virtual Agents

    • Sign in
    • Sign up

    Browse

    • Solutions
    • Partners
    • Consulting Services

    Downloads

    • Power BI Desktop
    • Power BI Mobile
    • Power BI Report Server
    • See all downloads

    Learn

    • Guided learning
    • Documentation
    • Support
    • Community
    • Give feedback
    • Webinars
    • Developers
    • Blog
    • Newsletter

    © 2022 Microsoft

    Follow Power BI

    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Trademarks