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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
stevemccall1
Frequent Visitor

OSRM - Sending an API single request with values from multiple rows

Hi,

 

I'm working with a local OSRM instance to query a large amount of booking data to get travel time between the resouce location and destination.  This works fine with a small amount of data (around 1 week) but anything over a month takes a long time and usually ends in a timeout or failure.  I'm pretty sure the API is throttling / failing once it hits a certain number of requests.

 

I've been looking at the OSRM documentation and it appears there is a table service that allows you to send multiple pairs of coords in a single request.  I'm thinking this might be the way around it.  OSRM API Documentation (project-osrm.org)

It is possible to somehow make a call in this fashion from Power Query, that will be refreshable in the PowerBI service?  I don't really know where to start

1 REPLY 1
lolujubril
New Member

One method is using the python and R integration in power query to wrangling the data using R or Python code. 

 

There's a package in R called osrm that has functions that make it easier

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.