Google Sheets is part of the Google Docs suite of productivity apps. Google Sheets lets you create and format online spreadsheets, and work on them simultaneously with other people. The Data Studio Google Sheets connector allows you to access data stored in a Google Sheets worksheet.In this article:
How to connect to Google Sheets
A Google Sheets data source can connect to a single worksheet in a Google Sheet.
- Sign in to Data Studio.
- In the top left, click , then select Data Source.
- Select the Google Sheets connector.
- Select a Spreadsheet and Worksheet.
You can connect to spreadsheets that you own or that have been shared with you. You can also paste in the URL of a Google Sheet to which you have access.
- Configure any of the data source options (see below).
- In the upper right, click CONNECT.
- The data source fields panel appears.
- The data source is now connected to your data set.
All of the columns you've included in the connection now appear as fields in the data source. See Work with data source fields to learn more about configuring your data source.
Use first row as headers causes the data source to use the first row in your worksheet as the field names in the data source. If this option is not selected, the field names will use the column index (A, B, C, etc.)
Include hidden and filtered cells lets you include or exclude this data from the data source. The default value is to include them. This option only applies to filters, not to filtered views. Learn more about filters in the Sheets Help Center.
Optional Range lets you define a range of cells in the selected worksheet. Use standard column-row syntax to define the range: e.g., A1:Z26.
Field editing in reports
The Field Editing in Reports data source option allows report editors to change field definitions at the chart level. Editing field definitions in the report makes customizing your reports faster and easier. Learn more.
Configure the data source
The data source fields panel is where you configure the data source by renaming fields and adding descriptions, adding calculated fields, and changing data types and aggregations. Learn more about working with data source fields.
Control who sees the data
In the upper right of the fields panel, you can change the data source credentials. Credentials control who can see the data provided by this data source.
USING OWNER'S CREDENTIALS lets other people view or create reports that use this data without requiring them to have their own access to the data set.
USING VIEWER'S CREDENTIALS, on the other hand, requires each user of the data source to provide their own credentials to access the data set.
Learn more about data source credentials.
Create a new report from the data source
- In the upper right, click CREATE REPORT.
- The report editor appears.
- Click ADD TO REPORT.
- This adds the data source to report.
- You can now create charts and controls that get their data from this data source.
New to Data Studio?
- Your data must be in a tabular format. Learn more about how to prepare your Google Sheets to work with Data Studio.
- The header row must be a single row.
- All cells within a column should be of the same type.
- If you make changes to a sheet after connecting it to a data source, be sure to refresh the data source fields to see those changes.
If you're having trouble connecting to your spreadsheets, consider the following:
- Data Studio does not support accessing files on Team Drive. Please ensure that your Sheets are stored in standard Drive folders.
- Make sure that you are using the same account for both Data Studio and Google Drive. If you've accidentally connected Data Studio to a different Drive account, you can remove that connection, then reconnect using a different account.
- Here are some general tips on troubleshooting issues with Drive.
- If you are a G Suite user, your organization must permit access to Drive. Learn how to manage Drive in G Suite.