Forum Discussion
Alternative way to dynamically pass API url to allow online scheduled refresh
Hi. Dynamic datasets can't always be scheduled. However there is a common approach to use. You need to breakdown the URL to make the a single one for all of the requests with different codes splitting by relative path and query (parameters).
You have a guide on how to break down the url in the web.content function here:
https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-in-power-query-and-power-bi-m-code/
I'm not so sure about the way you get the first codes combined with this in order to say "it will work". I would try it because I'm not that sure, but it's possible that would work.
I hope that helps,
- SebbyP3334 years ago
Helper I
Thank you for the advice and article. I will check it out to see if i can get it to work
- v-janeyg-msft4 years ago
Community Support
Hi, SebbyP333
Did you check ibarrau's advice? Did he answer your question? If this post helps, please consider Accept it as the solution to help the other members find it more quickly.Best Regards,Community Support Team _ Janey