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
espo4life
Helper I
Helper I

Parameterizing URL query string for data lookup

I have a datasource from the web

 

= Json.Document(Web.Contents("http://api.weatherstack.com/current?access_key=4d874fb78b08839d1deb2ffc3e6168d2&query=39.6177,-86.15..."))

 

I want the query values (long, lat), to be populated from the values in another table. 

I have a parameter named Location, which will be used to look up the long/lat for that location. I want to plug those values into the query string above.

 

I am not savey enough to figure it out or know exactly what to search for. Any help would be gratley apreciated!

1 ACCEPTED SOLUTION

Hi @espo4life ,

 

check this out.

https://community.powerbi.com/t5/Desktop/API-Calls-from-column/td-p/568646

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


View solution in original post

1 REPLY 1

Hi @espo4life ,

 

check this out.

https://community.powerbi.com/t5/Desktop/API-Calls-from-column/td-p/568646

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


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.