Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hey, how do I use Google Maps API with Power BI in order to calculate the distance between any two locations on a map?
Solved! Go to Solution.
Hi @Anam,
You can try to use web connect with google api to calculate the distance:
How to call REST APIs and parse JSON with Power BI
If your data contains Latitude/Longitude, you can try to use power query to calculate the distance:
Use Power Query to Calculate Distance
Regards,
Xiaoxin Sheng
Hi @Anam,
You can try to use web connect with google api to calculate the distance:
How to call REST APIs and parse JSON with Power BI
If your data contains Latitude/Longitude, you can try to use power query to calculate the distance:
Use Power Query to Calculate Distance
Regards,
Xiaoxin Sheng
Saw a video on Youtube about this very thing the other day:
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 61 | |
| 52 | |
| 47 | |
| 41 | |
| 38 |