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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
jvandompseler
Regular Visitor

Load data with variable hyperlink based on a query

Hi everyone,

 

I want to load data from a source with an variable hyperlink based on data from another query with project id. 

jvandompseler_0-1680242173666.png

 

Now I worked with a parameter:

let
Bron = Json.Document(Web.Contents("https://xxxxx/rest/projects/"&PM_Projecten_id, [Headers=[Authorization="Bearer xxx"]]))

 

This worked but now there is just one project loading into the new query. I want to load all the projects in te project.id column in the Power Query. 

 

Can anyone give me some help. 

 

Thanks!

1 ACCEPTED SOLUTION
ChielFaber
Super User
Super User

You're on the right track. I think this Guy in a Cube video will give you the result your looking for:

 

https://www.youtube.com/watch?v=Z0U9UL9ORh8

 

You need to create a function (basically the script you already have with the parameter). Then you load the input value's in a list/table. The next step is to add the function in a column. It will then look at the value in column 1 (input values) and execute the function. 

 

The guy in a cube video is based on nfl data over multiple seasons, but I think it can help you get the result your lookinf for.

 

Good luck!

View solution in original post

1 REPLY 1
ChielFaber
Super User
Super User

You're on the right track. I think this Guy in a Cube video will give you the result your looking for:

 

https://www.youtube.com/watch?v=Z0U9UL9ORh8

 

You need to create a function (basically the script you already have with the parameter). Then you load the input value's in a list/table. The next step is to add the function in a column. It will then look at the value in column 1 (input values) and execute the function. 

 

The guy in a cube video is based on nfl data over multiple seasons, but I think it can help you get the result your lookinf for.

 

Good luck!

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors