Forum Discussion
NLblabla
5 years agoFrequent Visitor
repeated API calls until a null value is found
Hi all, Hopefully you can help me. I want to get data from an API. I've got the API code working (code below, it is slightly anonimised) for one address, but I want it to repeat the API calls to ...
- 5 years ago
Hi NLblabla
You could try the custom function feature in Power Query. Keep all the amount values in column A. Convert your current query into a custom function with the amount value as a parameter in it. Then invoke the custom function to add a column. This new column has table values in its cells. You can then expand this column to show all the data from these APIs.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
NLblabla
5 years agoFrequent Visitor
Thank you for your reply. Do I need Power BI Desktop to do this step-by-step way to create the custom function, or can I also do so in Excel?
v-jingzhang
5 years agoCommunity Support