The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
BranchID | ParkCode |
123456 | Example1 |
456789 | Example2 |
147258 | Example3 |
let // Define the endpoint url = API_Endpoint, // Define the JSON body jsonBody = Text.ToBinary("{ ""network"": { ""network_id"": "& Network_ID &" }, ""branch"": { ""branch_id"": [===BranchID Goes Here===] } }"), #"Added custom" = Table.AddColumn(expandedUserInformation, "Park Code", each "[===ParkCode Goes Here===]"),
Solved! Go to Solution.
Hey,
Maybe you can turn the query into a function.
func_GetEmails
(vBranchID as text, vParkCode as text) =>
let
...
Then call the function by adding a column
Table.AddColumn(PreviousStep, "getEmails", each func_GetEmails([BranchID], [ParkCode]))
Make the function return a nested table/record, which then can expand.
Hey,
Maybe you can turn the query into a function.
func_GetEmails
(vBranchID as text, vParkCode as text) =>
let
...
Then call the function by adding a column
Table.AddColumn(PreviousStep, "getEmails", each func_GetEmails([BranchID], [ParkCode]))
Make the function return a nested table/record, which then can expand.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.