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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.