5. Web Data, APIs and Google Sheets
5.5 Google Sheets Connector
Some store teams keep daily targets in Google Sheets. Power BI Desktop has a Google Sheets connector.
Steps in Power BI
- In Google Sheets, copy the sheet URL from the browser (for example
https://docs.google.com/spreadsheets/d/<id>/edit). - In Power BI: Home › Get data › More… › Online Services › Google Sheets › Connect.
- Paste the URL › OK › Sign in with the Google account that can open the sheet › allow access › Connect.
- The Navigator lists the tabs (sheets) in the file. Tick Targets › Transform Data.
- Clean as usual: promote headers, unpivot month columns (Module 7.17), set types.
Example sheet Daily Targets (fictional): columns Date, City, Platform, Target Orders, typed by Rani's team for Pune, Solapur, Nashik, Sambhaji Nagar, Kolhapur and Nagpur.
Limitations and refresh
He bagha: connector features and limitations change over time (for example, support in the Service and dataflows, shared drives, khup large sheets). Check the current Microsoft documentation before relying on it for production. Also check that the Google account used for refresh keeps access to the file.
Ravindra Bagale's Tip
Friends, remember: a common problem is that the Google Sheets connector asks for sign-in again after publishing, and refresh fails. Test Service refresh early. If the connector's limitations don't suit you, consider the published CSV method or moving the data to SharePoint or Excel on OneDrive. Remember this rule.
Ravindra Bagale's Tip – मराठी
मित्रांनो, लक्षात ठेवा: एक common problem म्हणजे publish केल्यानंतर Google Sheets connector पुन्हा sign-in मागतो आणि refresh fail होतो. Service refresh लवकरच test करा. Connector च्या मर्यादा तुम्हाला जमत नसतील तर published CSV पद्धत किंवा data SharePoint किंवा OneDrive वरच्या Excel मध्ये हलवण्याचा विचार करा. हा नियम लक्षात ठेवा.
Ravindra Bagale's Tip – हिंदी
दोस्तों, याद रखो: एक common problem यह है कि publish करने के बाद Google Sheets connector फिर से sign-in माँगता है और refresh fail हो जाता है. Service refresh जल्दी test करो. Connector की सीमाएँ तुम्हारे काम की न हों तो published CSV वाला तरीका या data को SharePoint या OneDrive वाले Excel में ले जाने पर विचार करो. यह नियम याद रखो.