Forum Discussion
Recursive execution of REST from Power BI table
- 2 years ago
sceccolini
Can you use below query in a blank query and paste any one of the URL and let me know what you see?
let
Source =Json.Document(Web.Contents("URL"))
in
Source
Or use the below file and let me know.
Hi sceccolini
Can you provide sample output you are looking for(Sample data inside one of the URL and what you need to pick and bring it to the new column)? it will be easy to understand the requirement.
Thanks,
NG
- sceccolini2 years agoFrequent Visitor
Hi Naveen,
thanks for the reply. This is an extract of the properties returned by each service in the column
Of course, tthe REST invocations are always on the same service, which returnes the same properties; each service will just change the values of the returned properties. Among the above properties, we will need some of them, which will be configured as dedicated columns.
Thanks
Simone
- NaveenGandhi2 years agoMemorable Member
sceccolini
Can you use below query in a blank query and paste any one of the URL and let me know what you see?
let
Source =Json.Document(Web.Contents("URL"))
in
Source
Or use the below file and let me know.- sceccolini2 years agoFrequent Visitor
It works! I can just add a new custom column with this formula, and then I can manage it like any other transformation. Thank you!
- NaveenGandhi2 years agoMemorable Member
sceccolini
I have used a sample API to create a POC(This has JSON in multiple rows, so the end table will expand, It might not be the case with you).
If the first step works fine(JSON expansion), then the remaining can be tweaked depending on your format.
Attached file here has the POC.
If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!
Follow me on LinkedIn!!!