Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
wicker
Frequent Visitor

Error with data loading from Big Query View

Hi everyone!

 

Trying to load data from Big Query's view, which get one of the tables from Google Spreadsheets. In BQ view running is correct, but in BI I get error "DataSource.Error: ODBC: ERROR [42000] [Microsoft][BigQuery] (70) Invalid query: Error while reading table: datalake-257923.data_schemas.managers, error message: Failed to read the spreadsheet. Errors: No OAuth token with Google Drive scope was found". 

 

Query in BI below

 

b603c5af3b.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @wicker,

It seems like a compatibility issue with power bi bigquery connector and backend verification of google bigquery api.
I'd like to suggest report this to power bi or google bigquery support to check backend reasons. (notice: attach your power bi desktop version to help them to troubleshoot)

submit a support ticketsubmit a support ticket

In addition, you can also try to use web connector to manually invoke bigquery rest API with valid OAuth tokens, it should prevent this issue.

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
FabricU10
New Member

Hey, what solved it for me was disabling the query folding option;

either set to false [EnableFolding=false]

or just call 

Value.NativeQuery(GoogleBigQuery.Database(){[Name="<GBQ project name>"]}[Data], "<Query>")

without the parameter.

 

Hope this helps.

 

Best,

Anonymous
Not applicable

HI @wicker,

It seems like a compatibility issue with power bi bigquery connector and backend verification of google bigquery api.
I'd like to suggest report this to power bi or google bigquery support to check backend reasons. (notice: attach your power bi desktop version to help them to troubleshoot)

submit a support ticketsubmit a support ticket

In addition, you can also try to use web connector to manually invoke bigquery rest API with valid OAuth tokens, it should prevent this issue.

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@wicker , a related article but not with power bi

https://stackoverflow.com/questions/49807276/bigquery-no-oauth-token-with-google-drive-scope-was-fou...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors