Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

automate distance measure

(0) ShareShare
ReportReport
Posted on by 3

hi,

 

i am trying to automate the claim expenses submission which 1 part measure the travel distance. i would like to auto calculate the distance like how google map does?

 

any tips for me?

  • n6wa1k1on6 Profile Picture
    n6wa1k1on6 3 on at
    Re: automate distance measure

    hi @SudeepGhatakNZ i will explore & revert back to your suggestion ye. Thank you.

  • SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    Re: automate distance measure

    @n6wa1k1on6  ,You could use the Google/Bing API via an HTTP post action.

    Google: Distance Matrix API overview  |  Google for Developers

    Bing: Calculate a Distance Matrix - Bing Maps | Microsoft Learn

     

    https://maps.googleapis.com/maps/api/distancematrix/json
      ?destinations=New%20York%20City%2C%20NY
      &origins=Washington%2C%20DC%7CBoston
      &units=imperial
      &key=YOUR_API_KEY
     https://dev.virtualearth.net/REST/v1/Routes/DistanceMatrix?origins={lat0,long0;lat1,lon1;latM,lonM}&destinations={lat0,lon0;lat1,lon1;latN,longN}&travelMode={travelMode}&startTime={startTime}&timeUnit={timeUnit}&key={BingMapsKey}

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard