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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. 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:
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 54 | |
| 42 | |
| 30 | |
| 24 |