Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I need to pass the Id values that are present in a Employee table to a web url
Below is the table
for each row in the above table the below command needs to be executed and store the result as a record
Source = Web.Contents("XXXXXXXXXXXXXXXXXXXX/employeeId="&Id, [Headers=[Authorization="Bearer "&access_token,ContentType="application/json"]]),
FormatAsJson = Json.Document(GetJson),
Note; I am able to pass only 1 id(Web.Contents("XXXXXXXXXXXXXXXXXXXX/employeeId="&Employee[Id]{0}) and unable to find something that loops and writes to a table.
Solved! Go to Solution.
Hi @Indrasena ,
You can refer the content in the following links to achieve it:
Power BI Desktop Query Parameters, Part 3, List Output
Populate a Power BI parameter list using a query
1. Convert the table Employee to a list
2. Create a New Query Parameter and Link it to the List Query just as the one in below screenshot
3. Filter the rows with the parameter
The below one is for Power Query online:
Multi-Value Parameters In Power Query Online
Best Regards
Hi @Indrasena ,
You can refer the content in the following links to achieve it:
Power BI Desktop Query Parameters, Part 3, List Output
Populate a Power BI parameter list using a query
1. Convert the table Employee to a list
2. Create a New Query Parameter and Link it to the List Query just as the one in below screenshot
3. Filter the rows with the parameter
The below one is for Power Query online:
Multi-Value Parameters In Power Query Online
Best Regards
User | Count |
---|---|
15 | |
5 | |
2 | |
1 | |
1 |
User | Count |
---|---|
19 | |
4 | |
3 | |
1 | |
1 |