Forum Discussion
REST api to google big query crashes
- 6 years ago
we think it was related to having multiple refreshes on the same tables in GBQ at the same time. Since we have organised the refreshes to not run simultaneously it didn't happen anymore
Sure I can give more details.
We were loading the same report (prod and test) at the same time it appeared. So 2 refreshes loading the same tables/views. After stop doing that, the problem did not occur anymore.
Hope this helps.
Johan
OK I see, and when everything succeeded, were you still using multiple views on the same table? I'm a bit worried that that could be causing my issue. That because all of my 10 views use the same table, in the background it connects to that table 10 times at the same time.
I just checked Dataflows, and what I see there is that dataflows doesnt load any of my views in parallel, it always loads them serially, so 1 at a time. That might be why it works OK in Dataflows. I just don't understand why it always works in powerBI desktop, because that definitely tries to load everything in parallel, but always works 😞
- Johan6 years agoAdvocate II
yes, seems like the api gets unstable when you run multiple queries on the same source table at the same time. Try to avoid that.
- ju_jacobowiski6 years agoFrequent Visitor
Hi, Johan . Did you manage to sort it out? Since Sunday my refresh stopped working in PowerBI Service. If I try to refresh, the error happens again but with another table.
- Anonymous6 years agoNot applicable
Hey Ju_jacobowiski.
Can you try adding the billing project to the powerquery connection string?
They describe it in the documentation at the very bottom. For me the billing project was the same as the firebase project. (In the form of "monkey-c7c69") After I added that, my refreshes seem to have stopped failing. I don't understand why, but it seems to work. (This might only help if you actually have a project that supports billing)
Quote from the documentation:
You can use Power BI with the Google BigQuery Billing Project. By default, Power BI uses the first project from the list returned for the user. To customize the behavior of the Billing Project when using it with Power BI, take the following steps:
Specifying the following option in the underlying M in the Source step, which can be customized by using Power Query Editor in Power BI Desktop:
Source = GoogleBigQuery.Database([BillingProject="Include-Billing-Project-Id-Here"])