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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DarinSpence
Helper I
Helper I

Calculate Estimated Drive Time for a Delivery Route

I have addresses and stop sequence, but have not found a method to calculate the estimated drive time from a warehouse to the 1st stop, then from the 1st to the 2nd, then 2nd to 3rd, and so on until a return to the warehouse.

1 REPLY 1
mahoneypat
Employee
Employee

If your data doesn't inlcude a drive time for each start/stop address already, you can use a REST API to get drive times between addresses on each row.  Please see this post with a detailed walk through of something similar.  You would need to use a different Google Geo API and different url call, but same approach other than that.

 

https://community.powerbi.com/t5/Power-Query/Create-google-API-to-lookup-latitude-and-longitute-of-z...

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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