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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
a9126030767
Advocate II
Advocate II

How to specify a login / password in PowerQuery so that it gets access from GoogleSheet

There is a GoogleSheet that only certain accounts can access.
How to specify a login / password in PowerQuery so that it gets access to this book for import

Import string look like this

Source = Excel.Workbook(Binary.Buffer(Web.Contents("https://docs.google.com/spreadsheets/d/1s6EiIVl5QA7kwLX9LgENfKcjBkbXqOVlx0Qvlo/pub?output=xlsx")), true, true),

2 REPLIES 2
ibarrau
Super User
Super User

Hi. I'm not sure if there is a way to get in a file with google credentials. I think it should be public. I only know this way of connection like the link explain:

https://blog.ladataweb.com.ar/post/189308808470/powerbi-conectar-desktop-a-un-archivo-en-google

 

Hope this help,

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

I did it before
but in this situation I need to restrict access to the table

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.