Forum Discussion

Anam's avatar
Anam
Regular Visitor
9 years ago

Integrating Google Maps API in Power BI

How do I use/integrate Google Maps API in Power BI for calculating distance between any two locations?

1 Reply

  • Phil_Seamark's avatar
    Phil_Seamark
    Microsoft Employee

    Hi Anam

     

    You'll need to do it at the Power Query level and probably build a table of to/from pairs of lat/lngs and then pass the values (potentially 1 by 1) to a Google Map API in a Power Query function.   If you are lucky you can do it in batches to speed things up. 

     

    How many distances did you want to calcuate?