home User Guide Getting Started Help Center Documentation Community Training Certification
menu
close
settings
Looker keyboard_arrow_down
language keyboard_arrow_down
English
Français
Deutsch
日本語
search
print
Public Sharing, Importing, and Embedding of Looks

Only admins and others with the create_public_looks permission can enable public access for a saved Look. Additionally, Public URLs must be enabled on your instance by an admin, described on the Managing Business User Features documentation page.

The first step in any method of public sharing, importing, or embedding is to enable public access on the Look you want to share.

Giving Public Access to Specific Looks

Public access allows you to share your Look with a broader audience. When public access is enabled on a Look, Looker provides a list of shortened, unguessable public URLs. Those URLs allow anyone that you share them with to view the Look’s data and/or visualization.

To enable public access for a saved Look:

  1. If you are in Development Mode, click Exit Development Mode.
  2. Navigate to the Look you want to share.
  3. Click the Look’s gear menu.
  4. Select Edit Settings. This opens a Look Settings window:
  5. In the Look Settings window, turn on the Public Access option.
  6. Click Save. This will make the previously greyed out URLs accessible.

Once you can access the URLs, you can copy and use them in a variety of ways:

The sections below walk you through each option.

Sharing Look Results Through a Public URL

To share Look data through a public URL, copy and use the URL from the URL section of the Look Settings window. The 32-character hash that appears in the URL should make it unguessable, so no one will be able to access this data unless you explicitly provide them with this URL.

Anyone who has the URL will be able to access the data without logging in to Looker. Therefore, do not put sensitive data into any public Look.

Changing the Format

You can share and access the data in text, JSON, CSV, and HTML formats by changing the format extension of the URL. For example:

Default Application of Visualization and value_format Settings

Looker applies any value_format settings that you’ve put in place. Looker also applies some visualization settings to your public URLs, causing your data to appear similar to a table chart. Any of the following Plot and Series visualization menu settings for the Look will be applied to the public URLs:

Removing Visualization or value_format Options

The application of visualization options shows up in the URL as the apply_vis=true argument. If you do not want visualization options applied, simply remove the apply_vis=true from the URL.

The application of any value_format settings shows up in the URL as the apply_formatting=true argument. If you do not want value_format settings to be applied, remove the apply_formatting=true from the URL.

The example URL below shows both arguments (scroll to see the full text):

https://instance_name.looker.com/looks/JRJTR5dDYZRVX56vyrmnpKn2HRbnhsMq.txt?apply_formatting=true&apply_vis=true

Public Embedding with iframe Tags

You can embed a Looker chart or data table into a website using an HTML iframe tag.

If you want to embed the chart that is saved with your Look, use the Embed Visualization iframe code from the Look Settings window.

If you want to embed the data table that is saved with your Look, use the Embed Data Table iframe code from the Look Settings window. Public embedded tables cannot be sorted.

For private embedding, see the Private Embedding and Single Sign-on Embedding documentation pages.

Exporting to Google Sheets

You can also export a Look’s data directly into a Google Sheet without having to download it first.

You can also export data directly to Google Sheets using the Google Sheets action from the Looker Action Hub rather than implementing the method described below. See the Looker Actions — Google Sheets Help Center article for more information.

To import the data into a Google spreadsheet, copy the Google Spreadsheet formula from the Look Settings window. Paste the formula into the cell of the Google spreadsheet where you want the upper-left cell of your data to appear, then hit Enter. You might need to refresh the Sheet to see your imported data.

Tips and Notes for Google Spreadsheets

There are some things to keep in mind when using this method to export data to a Google Sheet:

Exporting to Excel

To import the data into Microsoft Excel, you will need to download a .iqy file by completing these steps:

  1. Enable public access for the Look as described above.
  2. Save these settings. The Look Settings option for Excel Web Query File will now show a download link next to it.
  3. Click Download to download the .iqy file to your computer.

Read the instructions below for more information on how to use the .iqy file depending on your version of Excel.

Both Google and Excel will only interact with servers that have valid SSL certificates. If your Looker instance is hosted by Looker this will not be a concern. However, if you have a customer-hosted Looker instance, your admins will need to have followed these instructions when they initially set up Looker.

Tips and Notes for Microsoft Excel Spreadsheets to Mac Office 2011

There are some things to keep in mind when using Looker in combination with Excel spreadsheets on a Mac.

Initial Data Import

  1. Download the .iqy file to a known location on your computer.
  2. From the Data drop-down menu in Excel’s menu bar, select Get External Data > Run Saved Query.
  3. From the Enable drop-down menu in the prompt, select Query Files.
  4. Navigate to the saved .iqy file.
  5. Click Get Data.
  6. Select location in spreadsheet to place data and click OK.

Refresh Data

  1. Click on Excel’s Data tab.
  2. Click the Refresh Data button.

Tips and Notes for Microsoft Excel Spreadsheets to Windows Office 2013

There are some things to keep in mind when using Looker in combination with Excel spreadsheets on Windows.

Initial Data Import

  1. Download the .iqy file to a known location on your computer.
  2. Click on the Data tab in Excel.
  3. Click on the Existing Connection button.
  4. Click on Browse for More.
  5. Navigate to the .iqy file.
  6. Click Open.
  7. Select location in spreadsheet to place data.

Refresh Data

  1. Click on Excel’s Data tab.
  2. Click the Refresh Data button.

For Admins: Enabling Public URLs

For any of the above features to work, you must enable Public URLs.

Top