Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello the community,
I come to you today with a twisted issue. I was not sure if I should create the topic in Power Query or in Service category but here we are !
For one of my datasets I send queries to a REST API that is limited in count of queries I can send per minute (max 60 queries per minut).
In my case, two distinct tables sends 55 queries each. So as long as I refresh only one table at a time in the PBI desktop there is no problem. But in the Service, I can't separate the refresh of this tables so the execute queries simultaneously and the limit of the API is reached and nothing gets refreshed.
I managed dealing with it adding a delay of 2 seconds between each query but it is extremely annoying when working on the desktop and being forced to wait and wait and wait and wait all day long each time I change something.
So my question is : is it possible in the service to refresh one of the table first, and the other table one minut later ? The solution could be in Power query editor but I have no idea how to do this.
Thanks in advance,
Cado
Solved! Go to Solution.
Hi. This is interesting and weird at the same time ^^. I like it.
If you want to "wait" for something to be solved, you can use Function.InvokeAfter() in Power Query.
Doc: https://docs.microsoft.com/en-us/powerquery-m/function-invoke
There is an amazing example from Chris Webb in his blog
https://blog.crossjoin.co.uk/2015/04/30/using-function-invokeafter-in-power-query/
In addition, you can always consider dataflows to run individual flows for each table if you need to make the refreshes in different times or something like data.
I hope that helps,
Happy to help!
You can use Power Automate to orchestrate refreshes concurrently or sequentially.
Hi. This is interesting and weird at the same time ^^. I like it.
If you want to "wait" for something to be solved, you can use Function.InvokeAfter() in Power Query.
Doc: https://docs.microsoft.com/en-us/powerquery-m/function-invoke
There is an amazing example from Chris Webb in his blog
https://blog.crossjoin.co.uk/2015/04/30/using-function-invokeafter-in-power-query/
In addition, you can always consider dataflows to run individual flows for each table if you need to make the refreshes in different times or something like data.
I hope that helps,
Happy to help!
Hi @ibarrau
I thought about using Function.InvokeAfter() to ask the second group of queries to wait 60 seconds before starting but then if I want to refrsh only this table in the desktop I will have to wait one minute each time ^^
Maybe data flows will solve my problem, let's get into it 🙂
Thanks for your help and have a nice day !
Cado
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
49 | |
28 | |
20 | |
20 | |
19 |
User | Count |
---|---|
52 | |
51 | |
26 | |
26 | |
22 |