Looker is an enterprise platform for business intelligence, data applications, and embedded analytics that helps you explore and share insights in real time. The Looker connector allows you to access Looker data within Looker Studio by adding an Explore as a data source to a Looker Studio report.
Before users can view Looker data in a Looker Studio report, a Looker user with an admin role must enable the Looker Studio connector on the BI Connectors page in the Admin panel of the Looker instance. Enabling the Looker Studio connector also makes available the Open in Looker Studio option in the Looker Explore actions menu and the ability to monitor Looker connector usage in Looker System Activity.
Once the connector is enabled in the Looker instance, Looker Studio users with at least explore
Looker permissions can connect an Explore from that Looker instance as a data source in a Looker Studio report. Once the instance is connected, Looker Studio users with at least access_data
and clear_cache_refresh
Looker permissions can view Looker data in a Looker Studio report.
Use the Looker connector
explore
permissions to complete these steps.You can connect a Looker Explore to a new data source. To use the Looker Studio Looker connector to create a data source that connects to an Explore in a Looker instance, you must perform the following steps:
- Connect to a Looker instance and link your Looker and Google accounts.
- Select a model and an Explore.
Connect to a Looker instance
- In a report, click Add data in the report toolbar.
- In the Add data to report page, click the Connect to data tab.
- Under Google Connectors, click on the Looker connector.
- Enter the URL for the Looker instance from which you would like to source your data. This is the URL that you use to access Looker on your browser.
- If the instance URL is invalid, Looker Studio displays the message "Invalid Looker URL or the Looker URL does not support account linking. Please use different Looker URL."
- If you have previously connected a Looker instance as a data source, that Looker instance name appears under Saved Looker Instances. You can click the name of a Looker instance and proceed to the section on selecting a model.
- Click Connect Looker Account.
- In the authorization pop-up, click Agree and continue to link your Google account credentials to your Looker account credentials. You can link one Google account to one Looker account for each Looker instance that you connect to Looker Studio.
- Click AUTHENTICATE in the Looker instance pop-up.
Note that, when you link your accounts, the instance URL is stored by Google outside of the Looker environment. You can unlink your Google and Looker accounts from the Account Linking page in your Google Account profile. Unlinking your accounts will prevent the data source from connecting to Looker data.
Now you are ready to select a model–Explore pair to connect to as a data source.
Select a model and an Explore
Once you have connected to a Looker instance, the list of models that are associated with that instance automatically populates a new panel, which is called Models. You can now select a model–Explore pair to connect to as a data source.
To select a model, perform the following steps:
- Scroll the list or click the magnifying glass icon
to open a search field where you can enter the name of a specific model. Hover over a model name to see the model filename as it appears in the Looker project.
- Click the model name to select the model. A new panel will populate with the list of Explores that are associated with that model.
- To select an Explore, scroll the list or click the magnifying glass icon
to open a search field where you can enter the name of a specific Explore. Hover over an Explore name to see the
explore
parameter value as it is declared in the model file. - Click the Explore name to select the Explore.
- Click Add. A pop-up appears with information about the data source's selected Explore and model.
- To confirm your model and Explore selection for this data source, click ADD TO REPORT. Optionally, check the Don't show me this again box to prevent seeing this pop-up when you edit this data source.
It may take a few minutes to add the new data source to your report. Looker data sources have the format Looker Explore name - Looker model name.
View and edit the data source configuration
explore
permissions to complete these steps.The data source configuration contains information about who can view or edit the data source, how often the data refreshes, whether community visualizations can be accessed, and whether fields can be edited for this data source. You can also view and edit the fields that appear in the Data panel.
To access the data source configuration window, perform the following steps:
1. Edit your report.
2. Open the list of data sources from either the Resource menu or the Data panel:
- From the Resource menu, select Manage added data sources. Click the open icon
next to the data source name to open a new window that displays the Looker data source configuration.
- From the Data panel, hover over the Looker logo
for the desired Looker data source. Click the edit icon
to open an adjustable overlay that displays the Looker data source configuration. To expand this to a full-size window, click the leftward-facing arrow
next to the name of the data source at the top of the overlay.
3. Select Close in the upper right of the window to return to your report.
Learn more about editing a data source.
Add more Looker Explores
Once your report's data source is connected to Looker, you can add more Looker Explores — even those not belonging to the same Looker model as other data sources in the report — to your report as additional data sources.
To add a new Looker Explore to your report, follow the instructions for adding a Looker Explore in the Use the Looker connector section of this page.
- To connect to a different Looker instance, enter a different Looker instance URL in the Connect to a Looker Instance panel of the Connect to data tab of the Add data to report page. If this instance is associated with a different Looker account, you will need to authorize the linking between your Looker and Google accounts.
- To connect to a new model–Explore pair from a Looker instance that you have already used to connect as a data source, first select the instance name under Saved Instances, and then select a new model and Explore.
- To connect to an existing model–Explore data source, navigate to the My data sources tab of the Add data to report page. Looker data sources have the format Looker Explore name - Looker model name. Select a new data source and click Add.
After you have added your data source, refresh your report. Your new data source appears in the Data panel. Click the data source name to expand it, and drag fields into your report as needed.
Add fields to the report chart
When you refresh your data in Looker Studio, data is also refreshed in Looker as if you had clicked Clear Cache and Refresh from the Looker Explore.
The fields from your Looker data source are displayed in a different format from how they appear in Looker. The Explore field picker defaults to a more user-friendly format of the Explore and its views, dimensions, dimension groups, measures (known as metrics in Looker Studio), and joins. In Looker Studio, the fields appear in your report in the format Looker-view-name field-name, with all the Explore's dimensions listed followed by all the Explore's metrics.
If the Explore's underlying LookML specifies labels for the views in an Explore (for an Explore, field, or join) or for a dimension group, then those labels will appear in the Looker Studio report.
For example, in Looker, an Explore called Flights has the views Carriers, Destination, Flights, and Origin. The Carriers view has the dimensions Carrier Name, Code, and Name, and no view labels have been specified:
In the corresponding Looker Studio Looker data source called Flights - FAA, these dimensions appear as Carriers Carrier Name, Carriers Code, and Carriers Name:
Learn more about how to edit fields in your reports.
Control access to Looker data in Looker Studio
The default data credentials for Looker data sources are Viewer's credentials.
Viewers of data from Looker data sources must provide their own credentials to access the Looker dataset. When such a viewer provides these credentials, their Google account is linked with the Looker account that is associated with the connected Looker instance. In addition, their Looker user account must have at least access_data
and clear_cache_refresh
permissions for the models on which the connected Looker Explore is based. Looker admins manage user permissions.
Looker Studio IT administrators can also manage how users share reports outside of their organization.
Revoke credentials
If you revoke your credentials, the data source will not be able to connect to Looker data. To view the Looker Explore, you must reconnect the Looker data source.
Learn more about how to set and revoke your data credentials.
View Looker data on a report
access_data
and clear_cache_refresh
permissions for the model on which the Explore is based to view data from Looker data sources.Before you can view data from a Looker data source that was created by another user, you must link your Google account to your account for the Looker instance to which the report is connected.
When an Authorization Required message is displayed on a chart, you must authorize the Looker connector to link your Google account credentials to the Looker credentials for the Looker instance that is displayed in the authorization pop-up. To authorize the connector:
- Click the Authorize now link in the desired chart.
- In the Looker Studio authorization request pop-up, click AUTHORIZE.
- In the Google authorization pop-up, click Allow and continue.
You can unlink your Google and Looker accounts from the Account Linking page in your Google Account profile.
Limits of the Looker connector
The scheduling email deliveries and downloading reports functions are disabled for reports with a Looker data source connection. Although the option to perform each action is available, the delivered and downloaded reports will not contain data.
Calculated fields are disabled for Looker data sources.
Drill fields and LookML field parameters from the Looker Explore will not appear the Looker data source in Looker Studio.
Filters may be applied in Looker but not indicated in Looker Studio. These filter parameters include always_filter, conditionally_filter, and sql_always_where.
Exceptionally large models (generally >100 Explores) may cause long delays or timeouts during the data source creation process.
There can only be 20 dimensions in a table, and tables may additionally contain metrics.
There is a 5 minute query timeout.
The Looker download_with_limit
permission restricts the number of rows a user may load in Looker Studio.
Troubleshooting
Issue | Resolution |
---|---|
HTTP 400 error in Looker Studio |
|
Cannot connect a Looker instance |
|
No Explores found | Select a different Looker model. |
Existing report charts break |
|
Looker Studio displays an error when trying to fetch Explore data | Please contact Support or visit the Looker Studio Community. |
Report a problem
Report problems with the Looker connector to the Looker support team.
If you are a Looker Studio Pro customer and experiences problems related to Looker Studio features other than the Looker connector, contact Cloud Customer Care.
If you are using the free version of Looker Studio, post your question or issue in the Looker Studio Help Community.