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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.