All Collections
Connect your spreadsheets
Build widgets from spreadsheets
Import Looker data into Geckoboard using Google Sheets
Import Looker data into Geckoboard using Google Sheets

Import Looker data into a pivot table, then use our Google Sheets data source to display it in Geckoboard.

Updated over a week ago

Import your Looker data onto a pivot table, then connect it to Geckoboard using our Google Sheets data source.

Connecting to Looker from Google Sheets

  1. Open a new file in Sheets.

  2. In the menu at the top, click Data > Data connectors > Connect to Looker. The first time you connect, you must link your Google and Looker accounts.

  3. Enter the name of your Looker instance or select an instance you recently connected, and click Continue. It may take up to 24 hours for a new Looker instance to be available in Connected Sheets.

  4. Select the Looker model and Explore that you want to use for your query, and click Connect.

  5. Once connected, a new sheet will open showing the structure of the selected Explore.

    The structure of the selected Explore

Adding Looker data to your sheet using pivot tables

  1. From the new sheet showing your Explore, click Pivot Table.

  2. Select whether to insert a new pivot table in either a new sheet or an existing sheet, and click Create.

  3. After the pivot table editor window opens, you can add rows, columns, values, and filters to build your query based on the dimensions and measures in your Looker Explore. Click Add to add a row, column, value, or filter.

    Pivot table editor

    The rows, columns, values, and filters in the pivot editor are equivalent to your Looker dimensions and measures in the following ways:

  4. Connected Sheets displays a list of the views available in your Explore. Click on a view name to show the list of the dimensions and measures in the view, and then select the field that supplies the data for your row, column, value, or filter. In the case of filters, you'll be able to specify how you want to filter the data on that field:

    Specify how you want to filter the data on each field
  5. Once you've added your Looker fields and filters to build your query, click Apply. This will populate your sheet with data from your Looker instance:

    Pivot table populated with data from your Looker instance

Display pivot table data in Geckoboard

Though pivot tables cannot be automatically read from Google Sheets in Geckoboard, you can use ImportRange to copy the pivot table in a new sheet.

  1. Add a new sheet and select a cell.

  2. Use ImportRange on this new sheet to reproduce the pivot table. For this, you'd enter =IMPORTRANGE([spreadsheet_url], [range_string]), where spreadsheet_url is the URL of the Google Sheet and range_string is the pivot table sheet name and cell range you want to import.

  3. After entering this formula for the first time you'll see the #REF! error in the sheet. Hover over the cell and click Allow access.

  4. Use this new sheet to display your pivot table when connecting your Google Sheet to Geckoboard.

Did this answer your question?