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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.