Marcel Lehmann

learn and find tipps & tricks around the powerplatform

PowerPlatformTip 44 – ‘Calculate the distance’

Here’s a cool tip to calculate the distance between two places without relying on premium services like Google or Bing maps.

We’ll be using the Haversine formula for this, and the best part is, you can find a ready-to-use code snippet right here: 🌐

πŸ“ To make it work for you, all you have to do is replace the latitude and longitude values for locations A and B. You can even level up your game by using the location function in PowerApps to fetch coordinates automatically! πŸ“Œ

πŸ”§ So, give this nifty trick a try and enjoy calculating distances like a pro, without spending a dime on premium services!

If you want to see the overview above all #PowerPlatformTip – click here

Published by

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: