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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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