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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
v_mark
Helper V
Helper V

How to specify bulk amount of data in Origin? Distance Matrix API

I do have a CSV file sitting on my local machine that has an address, city, state, and zip code of more or less 5,000 employees. 

and the same information for our 4 sites in the US.

 

My Intent is to calculate the distance and duration from an employee's home address to our office. 

I have my API Key already . Trying to follow the Overview  |  Distance Matrix API  |  Google Developers

 

but I don't see any specific way to have those 5k employees' home addresses put in as part of the URL link that I will use in Power BI. I saw a video from Ruth ( Curbal ) (24) #34 Calculate the distance between two points/locations/coordinates in Power BI - YouTube.

Which I am kinda lost on how to.
I want to achieve is make that CSV file as part of Origin inside of Power BI.
Not totally sure if I need to do this inside Power Query or Outside PBI.   Any help is highly appreciated! 

 

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@v_mark 
I am not familiar with using Google Map API. But the idea is to use Google Map API to get the lat and long of the addresses. Once you have the lat and long coordinates for each employe address, there are many posts and blogs about calcuating distance between locations.

 

Solved: Distance Calculation in Power BI - Microsoft Power BI Community

 

 

Paul Zheng _ Community Support Team

View solution in original post

1 REPLY 1
V-pazhen-msft
Community Support
Community Support

@v_mark 
I am not familiar with using Google Map API. But the idea is to use Google Map API to get the lat and long of the addresses. Once you have the lat and long coordinates for each employe address, there are many posts and blogs about calcuating distance between locations.

 

Solved: Distance Calculation in Power BI - Microsoft Power BI Community

 

 

Paul Zheng _ Community Support Team

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors