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
Bokbob
Helper I
Helper I

Google Distance Matrix not giving accurate results

Hi All, I am using Google Distance Matrix API to calculate the Distances based on the start and end destinations of our passengers.

But i have noticed that for the same client with same start and end destinations it is calculating different distances at each time they travelled.

i am passing just 2 parameters to this API which are same everytime. 

Please let me know if there is any known issue with this API call or anything else i can replace it to get my distance calculated.

any help would be great.

 

Thank you.

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@Bokbob,

What is the result when you directly enter the URL into your web browser following the guide in this article to calculate the distance between start and end destination? Does the URL return same result each time?

In addition, what parameters do you add to the API? There is also a video about how to use Google Distance Matrix API in Power BI Desktop for your reference.

https://www.youtube.com/watch?v=IGr5oQLm0ls

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors