Requirements: To use Connected Sheets for Data Studio, you must know the URL of the Data Studio instance you want to connect to. You can find out what Data Studio instances are eligible and how to enable Connected Sheets in Data Studio here: Using Connected Sheets for Data Studio.
In Sheets, connect to your Data Studio-modeled data to analyze data from a single source of truth and even integrate other data sources for deeper analysis.
With Connected Sheets for Data Studio, you can analyze data from more than 60 databases that can be live-connected to Data Studio. You can also combine your Data Studio data with Sheets data and you can analyze your data using familiar Sheets features like pivot tables.
Connect to a Look or an Explore
- On your computer, open a spreadsheet in Google Sheets.
- At the top, click Data
Data connectors
Connect to Data Studio.
- Enter your Data Studio instance URL or instance ID.
- To access Data Studio, you must have a Data Studio instance. If you don’t have a Data Studio instance, contact the Data Studio sales team to request a demo.
- If you’re prompted to allow access to your Data Studio data, you'll be asked to link your account, if you agree, click Agree and continue to link your Google and Data Studio accounts and allow Google to access your Data Studio data on your behalf.
- Click Connect to Look or Connect to Explore.
- If you select ”Connect to Look:”
- Select a Look.
- Click Connect.
- In the “Connect to a Look” window, under “Insert to,” select New sheet or Existing sheet.
- Click Create.
- On the left of the spreadsheet, click Apply.
- In the “Look editor” side panel, you’ll find the Look title and Look URL.
- To refresh the data in the table:
- At the bottom right, in the “Look editor“ side panel, click Refresh.
- At the bottom left of the table, click Refresh.
- If you select ”Connect to Explore:”
- Select a model from the list.
- Click Connect.
- If you select ”Connect to Look:”
Connect to a Data Studio
Connect to an Explore
Learn how to use Connected Sheets for Data Studio
After you load the Explore from the Data Studio instance, you can:
- Run live queries based on modeled data and standardized metrics
- Share and collaborate across the org with partners, analysts, or other stakeholders on up-to-date data
- Create new analysis in Google Sheets with built-in Google Sheets functions
Learn more about Data Studio
To better understand Data Studio terminology, please take a look at the Data Studio documentation:
- Learn more about “model.”
- Learn more about “Explore.”
- Learn more about “views.”
- Learn more about “measures.”
- Learn how to add dimensions for more details.
- Learn how to pivot dimensions.
- Learn how to filter data.
- Learn how to save and edit Looks.
Create a pivot table
At the top left of the spreadsheet that is connected to Data Studio data, you can easily create a pivot table to analyze large data sets and find relationships between data points.
Learn how to create and use pivot tables.
- To make edits on the pivot table, click Edit
.
- To add data from dimensions and measures, select an option:
- Click Add.
- From the right-hand side of the pivot table editor, you can drag and drop:
- Dimensions as rows, columns, values or filters
- Measures as values or filters
- Filter-only fields and parameters as filters
- To apply changes to the pivot table, click Apply.
|
In the screenshot: Rows = Distribution Center - Name
Columns = Inventory Items - Created Date Values = Orders - Order Count Filters = Inventory Items - Created Date between 2023-12-01 and 2023-12-05
|
- Data Studio Explores may contain one or more always_filters and/or conditionally_filters. These filters are defined in Data Studio and also apply to Connected Sheets for Data Studio pivot tables. As shown below, you can go to the "Data Studio filters" section of the Pivot table editor and see fields with defined filters.
- Pivot tables can currently support up to 100K results.
Add a filter to a pivot table
- Click Edit
to edit the pivot table.
- Under “Filters,” click Add.
- You can add Data Studio filter-only fields and parameters as filters in pivot tables. Learn more about Using Data Studio parameters and filter-only fields.
You can filter dimensions or measures by values.
- Select a dimension or measure.
- Next to “Showing all items," click the Down arrow
.
- Under “Filter by value,” click Add filter.
Tip: Data Studio fetches the top 500 values, which may take a few seconds.
- Select values to filter.
- Click OK.
- At the bottom left of the sheet, click Apply.
Tip: To remove current filters, in the right side panel, under “Filters,” click Remove .
Add a filter expression
You can use filter expressions to filter with common expressions such as "last day,” "next week,” or "NOT 5”.
- Select a dimension or measure.
- Under “Filter by condition,” select “Filter expression.”
- Input your expressions.
- Click OK.
- At the bottom left of the sheet, click Apply.
Refresh your data
Data Studio data doesn't automatically sync with Connected Sheets. To sync the data, you can refresh a specific item, everything within a data source, or everything within all data sources. Once you’ve connected to a data source, you can refresh Pivot Tables associated with that data.
- On your computer, open a spreadsheet in Google Sheets that is connected to Data Studio data.
- At the bottom, next to "Refresh" click More
Refresh options.
- To the right, under "Refresh options," click the items you want to refresh. To refresh all of the data, at the bottom right, click Refresh all.
Schedule a refresh
Important: Scheduled refreshes of Connected Sheets don't propagate any end-user context such as IP address or device information.
A scheduled refresh will update all objects and data sources at a specific, preset time.
Important:
A scheduled refresh will run as the user that set up the schedule. If another user adds or updates an existing datasource, the schedule will automatically pause. To unpause, contact the schedule owner or take over the refresh.
Objects in the preview or failed state will not refresh with a scheduled refresh.
- On your computer, open a spreadsheet in Google Sheets that is connected to Data Studio data.
- At the bottom, next to "Refresh" click More
Refresh options.
- At the bottom of the sidebar to the right, under “Scheduled refresh,” click Setup now.
- Choose your refresh frequency.
- Click Save.
To run a scheduled refresh as yourself instead of the original owner, you can take over a refresh.
- On your computer, open a spreadsheet in Google Sheets that is connected to Data Studio data.
- At the bottom, next to "Refresh" click More
Refresh options.
- At the bottom of the sidebar to the right, under “Scheduled refresh,” click Edit.
- Choose your refresh frequency.
- Click Save to transfer the scheduled refresh ownership to you.
View query details and cancel a query
Editors of a spreadsheet and users with the required Data Studio permissions can cancel a query that is running.
To view query details for a pivot table:
- On your computer, open a spreadsheet in Google Sheets that is connected to Data Studio data.
- Create a pivot table.
- At the bottom left of the pivot table, click Apply to apply any changes.
- At the bottom left of the pivot table, hover over the refresh icon
, next to "Refresh", click Open in Data Studio to open the pivot table query in Data Studio
-
[Optional] Click More
- And click See your recent Data Studio queries to see a list of recently run queries in Data Studio
- And click See query in Data Studio System Activity to see the details of this execution of the query in System Activity.
-
Note: You will need Data Studio's see_system_activity permission to see the data
-
To cancel a query
- On your computer, open a spreadsheet in Google Sheets that is connected to Data Studio data.
- When a query is running or pending: At the bottom, next to “Running query” or “Query pending”, click Cancel next to the calculated running time.
- Click Confirm.
You can also cancel a query from Refresh options sidebar:
-
On your computer, open a spreadsheet in Google Sheets that is connected to Data Studio data.
- At the bottom, hover over the refresh icon
, next to "Refresh" click More
Refresh options.
- To cancel running refresh individually, next to each item, click Cancel.
- Click Confirm.
Note:
- If you do not have the required Data Studio permission, the action to cancel a query cannot be completed.
- A query that failed due to a Sheets timeout may keep running in the database.
Explore connection settings
If you are currently connected to an Explore and you want to update the connection, you can use Connection settings.
- At the top right, click Connection settings.
- To connect, click a new Explore.
- Click Connect.
Admin Audit Logs
Important: When you access Data Studio data in Connected Sheets, entries are recorded in Data Studio's Audit Logs. The logs show who accessed the data and when. Only people with proper authorization can access log records.
You can find the spreadsheet ID in the audit log. Every spreadsheet has a unique spreadsheet ID value containing letters, numbers, hyphens, or underscores. You can also find the spreadsheet ID in a Google Sheets URL.