Get started with Connected Sheets for Looker

Requirements: To use Connected Sheets for Looker, you must know the URL of the Looker instance you want to connect to. You can find out what Looker instances are eligible and how to enable Connected Sheets in Looker here: Using Connected Sheets for Looker.

In Sheets, connect to your Looker-modeled data to analyze data from a single source of truth and even integrate other data sources for deeper analysis.

With Connected Sheets for Looker, you can analyze data from more than 60 databases that can be live-connected to Looker. You can also combine your Looker data with Sheets data and you can analyze your data using familiar Sheets features like pivot tables.

Learn more about Looker.

Connect to a Looker instance

  1. On your computer, open a spreadsheet in Google Sheets.
  2. At the top, click Data and then Data connectors and then Connect to Looker.
  3. Enter your Looker instance URL.
    • To access Looker, you must have a Looker instance. If you don’t have a Looker instance, contact the Looker sales team to request a demo.
    • If you’re prompted to allow access to your Looker data, you'll be asked to link your account, if you agree, click Agree and continue to link your Google and Looker accounts and allow Google to access your Looker data on your behalf.
  4. Choose a Looker model, and then an Explore.
  5. Click Connect.

Learn how to use Connected Sheets for Looker

After you load the Explore from the Looker 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 Looker

To better understand Looker terminology, please take a look at the Looker documentation:

Create a pivot table

At the top left of the spreadsheet that is connected to Looker 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.

  1. To make edits on the pivot table, click Edit .
  2. 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
  1. 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

Tip: Looker Explores may contain one or more always_filters and/or conditionally_filters. These filters are defined in Looker and also apply to Connected Sheets for Looker pivot tables. As shown below, you can go to the "Looker filters" section of the Pivot table editor and see fields with defined filters.

Add a filter to a pivot table

  1. Click Edit  to edit the pivot table.
  2. Under “Filters,” click Add.
Add a filter by value

You can filter dimensions or measures by values.

  1. Select a dimension or measure.
  2. Next to “Showing all items," click the Down arrow Down arrow.
  3. Under “Filter by value,” click Add filter.

Tip: Looker fetches the top 500 values, which may take a few seconds.

  1. Select values to filter. 
  2. Click OK.
  3. 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”.

  1. Select a dimension or measure.
  2. Under “Filter by condition,” select “Filter expression.”
  3. Input your expressions.
  4. Click OK.
  5. At the bottom left of the sheet, click Apply.

Refresh your data

Looker 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. 

  1. On your computer, open a spreadsheet in Google Sheets that is connected to Looker data.
  2. At the bottom, next to "Refresh" click More More icon and then Refresh options.
  3. 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. 

  1. On your computer, open a spreadsheet in Google Sheets that is connected to Looker data.
  2. At the bottom, next to "Refresh" click More More icon and then Refresh options.
  3. At the bottom of the sidebar to the right, under “Scheduled refresh,” click Setup now.
  4. Choose your refresh frequency.
  5. Click Save.
Take over a scheduled refresh

 To run a scheduled refresh as yourself instead of the original owner, you can take over a refresh. 

  1. On your computer, open a spreadsheet in Google Sheets that is connected to Looker data.
  2. At the bottom, next to "Refresh" click More More icon and then Refresh options.
  3. At the bottom of the sidebar to the right, under “Scheduled refresh,” click Edit.
  4. Choose your refresh frequency. 
  5. 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 Looker permissions can cancel a query that is running. 

To view query details for a pivot table:

  1. On your computer, open a spreadsheet in Google Sheets that is connected to Looker data.
  2. Create a pivot table.
  3. At the bottom left of the pivot table, click Apply to apply any changes.
  4. At the bottom left of the pivot table, hover over the refresh icon Refresh, next to "Refresh", click Open in Looker to open the pivot table query in Looker
  5. [Optional] Click More More icon

    1. And click See your recent Looker queries to see a list of recently run queries in Looker
    2. And click See query in Looker System Activity to see the details of this execution of the query in System Activity. 
      1. Note: You will need Looker's see_system_activity permission to see the data

To cancel a query

  1. On your computer, open a spreadsheet in Google Sheets that is connected to Looker data.
  2. 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.
  3. Click Confirm.

You can also cancel a query from Refresh options sidebar:

  1. On your computer, open a spreadsheet in Google Sheets that is connected to Looker data.

  2. At the bottom, hover over the refresh icon Refresh, next to "Refresh" click More More icon and thenRefresh options.
  3. To cancel running refresh individually, next to each item, click Cancel.
  4. Click Confirm.

Note: 

  • If you do not have the required Looker 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.

  1. At the top right, click Connection settings.
  2. To connect, click a new Explore.
  3. Click Connect.

Admin Audit Logs

Important: When you access Looker data in Connected Sheets, entries are recorded in Looker'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.

Learn more about Monitoring Connected Sheets.

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Google apps
Main menu