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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Murad
Frequent Visitor

Connecting to GoogleSheets Via ODBC/CDATA

Hello, 

 

I'm trying to connect one of my protected googlesheets into powerBi. I thought that this can't be done unless if the sheet is public but then I came upon this. I followed the guidance step by step and the DSN connection actually worked, with each connection attempt google is requesting access to Googledrive as expected. 

 

But the issue seems to be with PowerBi as im getting error [HY000] when trying to connect, screenshot below. I didn't include my OAuth details in the photo but i have copied and pasted everything excatly as it should from the API.  Please help me with this issue. 

 

Best regards,

Murad. 

 

PowerBi connecting to Googlesheets.png

5 REPLIES 5
v-qiuyu-msft
Community Support
Community Support

Hi @Murad,

 

In your scenario, as you want to get data from Google Sheets, I would suggest you follow  v-yuezhe-msft's suggestion to do it in this thread, instead of using third party driver. 

 

Note: Do mask sensitive data before uploading.

 

Best Regards,

Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-qiuyu-msft but the issue with that approach is that i have to publish my data and make it public to the web. I want to keep my personal data where it is without publishing it. 

 

Best regards,

Murad. 

Hi @Murad,

 

Based on my test about CData ODBC driver for Google Sheets, from Power BI desktop, it can get data from ODBC fine. 

 

In your scenario, please make sure the DSN has correct credential and Test Connection to check if it's successful. 

 

q1.PNG

 

When you get data in Power BI desktop, please use Default or Custom type to connect. 

 

q3.PNGq2.PNG

 

Also please try to update Power BI desktop and driver to the same version as ours. 

 

q5.PNG

 

 

Best Regards,
Qiuyun Yu

 

 

 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-qiuyu-msft

 

Its taking longer to fetch back the error so I think we closer than ever on this.

I'm getting a Successful DSN connection message but the same error on PowerBi, CDATA has the same version you do but my PowerBi's version is 2.52.4921.461. I can see that you can access multiple sheets, to double check, did you only enter the OAuth details when establishing CDATA's connection? Would be great if you could tell me how you established your connection, I'm afraid i might have skipped a step during the configuration. 

 

Best regards,

Murad.

Hi @Murad,

 

When I create a DSN in ODBC, I just provide the OAuth Client Id and OAuth Client Secret information, then Test Connection. As long as the connection is successful, you should be able to get data in Power BI desktop follow steps in my previous post.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Top Kudoed Authors