Forum Discussion
StephenF
5 years agoResponsive Resident
Delay on each API call
I need a line of code for the advanced editor to add a 5 second delay to the loading of each seperate API call.
Currently I am trying to run 5 api calls and they are too bunched up for the server to return data without an error.
Hey StephenF ,
you can add a delay with the Power Query function Function.InvokeAfter().
Check out the tutorial of Chris Webb:
Or we had the same question already in the community:
Solved: Re: Delay a web query before calling it - Microsoft Power BI Community
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic
1 Reply
- selimovdMost Valuable Professional
Hey StephenF ,
you can add a delay with the Power Query function Function.InvokeAfter().
Check out the tutorial of Chris Webb:
Or we had the same question already in the community:
Solved: Re: Delay a web query before calling it - Microsoft Power BI Community
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic