cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rhamza
Super User
Super User

Guidance : Showing all countries / cities within 2 dropbox

Hello everyone,

 

I want the user to enter the country, select the city and the system automaticly gives him the nearest store.

 

How can I achieve this without having an excel as a data source? Can I use bing engine ?

 

Thanks a tons,

 

Martin

4 REPLIES 4
v-xiaochen-msft
Community Support
Community Support

Hi @rhamza ,

 

Could you describe your needs in detail?

What is the store?

 

Best Regards,
Wearsky

rhamza
Super User
Super User

I have a Table containing all my store information, their address, their zip code, city, country etc.

 

I want the user to select a dropdown element containing all countries and another box containing all cities and from their selection, I want to tell them our closest store.

rhamza
Super User
Super User

Bump

v-xiaochen-msft
Community Support
Community Support

Hi @rhamza ,

 

Your idea is right, you could use the getroute function of Bing map.

Before using this function, please get the longitude and latitude of all stores.

 

If you don’t want to use bing map, I think this link will help you. Here

It will directly calculate the distance between two places through longitude and latitude.

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,157)