Forum Discussion
How to connect google sheet to Power BI
- 10 years ago
2023 update - the method below is no longer required, the native connector to Google Sheets is generally available. This supports Google authentication, so the data no longer needs to be public.
https://learn.microsoft.com/en-us/power-query/connectors/google-sheets
**** BELOW IS NOW OUT-OF-DATE ****
The easiest way is to Get Data / From Web, then enter the URL to your google sheet, with "&output=xls" on the end, e.g.
http://spreadsheets.google.com/pub?key=r1hlZB_n1rpXTij11Kw7lTQ&output=xls
PBI then analyses the resulting Excel file, showing the tabs as tables , which you can edit and manipulate.
In case anyone needs this, here's a secure way to access Google Sheets.
https://tumbleroad.com/2016/07/07/free-marquee-google-sheets-template/
Hey trebgatte I can follow all these steps but the only thing that loads is your 100 columns - none of my Google Sheets data. Am I doing something wrong.
- trebgatte9 years agoMost Valuable Professional
Did you get your own developer id?
- mike_honey9 years agoMemorable Member
I got asked by another client to look into a secure/API connection direct to Power BI again.
My conclusion is that the only Google API Authorization option now is the dreaded oAuth2, which is beyond the capabilities of Power BI.
I did have a look at Treb's blog post, but that seems to get tripped up by the same change in the Google API.
FWIW my proposed workaround is to use Microsoft Flow to read from Google Sheets and write the rows to an Excel file stored in OneDrive, running on a schedule. I got a crude prototype running quickly so it seems viable.
Hope this saves others some time.
Obviously the best solution would be for Microsoft to add Google Sheets connectivity with integrated authorization - if you agree please add your votes and comments here - maybe it will be delivered before it's 3rd birthday ...
- ImkeF8 years agoCommunity Champion
Deleted the thread because the "solution" actually didn't work.