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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 22 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 25 | |
| 24 | |
| 20 | |
| 19 | |
| 19 |