Forum Discussion

Bokbob's avatar
Bokbob
Helper I
8 years ago

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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