Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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
User | Count |
---|---|
34 | |
28 | |
25 | |
17 | |
15 |
User | Count |
---|---|
49 | |
42 | |
36 | |
15 | |
11 |