Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a table with products ids that extract from Web connector like that:
I need to extract another API from web that it's required pass the id to url. So, for not to extract id by id, i want to use this field id to pass the id for url, something like that:
First Example:
let
Id = Product[Id],
#"To table" = Table.FromList(Id, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
Source = Web.Contents("url?token=&id="&Id&""),
Custom = Json.Document(Source),
returnTable = Custom[returnTable]
in
returnTable
or
Second Example using Parameters:
let
Id = #"Put Parameters",
#"To table" = Table.FromList(Id, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
Source = Web.Contents("url?token=&id=Id"),
Custom = Json.Document(Source),
returnTable = Custom[returnTable]
in
returnTable
In second example I created an parameter that make a query on table Product.
Anyone have a idea that can help me ?
Thank you !
Solved! Go to Solution.
I believe you can tackle your problem by first creating a function with one id and then add a function column to the table with id's. I've done something similar earlier. I just the very great technique shown by Patrick LeBlanc in this Guyinacube video about importing nfl data for multiple years:
https://www.youtube.com/watch?v=Z0U9UL9ORh8
I believe you can tackle your problem by first creating a function with one id and then add a function column to the table with id's. I've done something similar earlier. I just the very great technique shown by Patrick LeBlanc in this Guyinacube video about importing nfl data for multiple years:
https://www.youtube.com/watch?v=Z0U9UL9ORh8
It's works Chiel, thank you for help