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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
proudmama
Regular Visitor

Zip Code Radius

In SQL with an Access interface, a user has the option to select a zip code and the radius from that zip code.  After entering this information, a list of individuals who meet that criteria is returned.  

 

I am trying to replicate this piece in Power BI desktop.  Is it possible?  

4 REPLIES 4
Icey
Community Support
Community Support

Hi @proudmama ,

Do you mean that you just want to import the data that meets your requirements instead of importing all data?

If so, you can open the 'Advanced options' and enter your requirements with SQL statement.

zip.PNG

Best Regards,

Icey

 

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

 

I have a table of zip codes that have the lat\long on it.  The way that I have it designed in the Access front end is, a user selects a zip code and enters the radius in miles.  This information is passed to a stored procedure on a SQL server via a pass through query and the results are returned to Access.  

 

I'm looking to do something similar in Power BI.  

 

Thank you!

blopez11
Super User
Super User

We did something similar

I used the following articles as the basis: https://radacad.com/dynamic-distances-in-power-bi and https://dataveld.com/2019/03/20/display-points-within-a-distance-radius-on-a-power-bi-map/ , and the lat/long for zipcodes from http://download.geonames.org/export/zip/ 

 

Hope this helps,

 

 

Thank you for the recommendation.  I did see that but it doesn't meet my needs.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors