Analytics: New Dashboard Experience
Chellie Esters
Caroline Antoun
The new version of Analytics Dashboards has a fresh, modern look and feel; customizable, user-friendly filters; a new dashboard creation experience and editing flow; and improved performance.
Editors may choose to revert back to the original Analytics dashboard.
New Analytics Dashboard Filters
There are a variety of new filter controls that you might see in the New Analytics Dashboard Experience. They can be displayed as inline, popover, or overflow filters. For popover and overflow filters, clicking on the filter value or the More button will reveal the full filter control.
Adding Dashboard Filters
Adding a dashboard filter consists of these major steps:
Create the filter itself, which is what users will interact with.
Decide which dashboard tiles should “listen” to that filter. If you don’t do this, Looker applies the filter to any tiles created from the same Explore that the filter is created from.
To get started, make sure the dashboard is in edit mode and that you have at least one query tile or Look-linked tile.
Click Filters in the top toolbar. An Add Filter window appears pre-populated with fields from any Explores used in the dashboard. You can use the search bar to find the field you want to filter by, or you can select it from the drop-down menu.
These filters only use fields from Explores that are used in that dashboard’s tiles.After you select the field you want to filter by, a filter configuration window appears that allows you to customize your filter settings:
- Title: Enter the title of the filter as you want it to appear on the dashboard. The title option pre-populates with the name of the filter-by field.
- Control: Select from a list of control types, which vary depending on the type of data you are filtering. See the Dashboard Filter Controls section to learn more about the different types of controls.
- Location: Select the position of the filter. See the Positioning Dashboard Filters section to learn more about the different ways to position filters.
- Values: To set specific value options for the filter, choose from the drop-down or enter the value options in this field. Leave blank to allow value options from the database to be surfaced, up to the maximum number of values available for that control.
- Configure Default Value: Optionally, set the default value for the filter.
- Require a filter value: Select the checkbox to require a value for the filter. See the Requiring a Filter Value section to learn more about requiring filter values.
- Select filters to update when this filter changes: Select the checkbox to link other filters to this filter. See the Setting Up Linked Filters section to learn more about linked filters. If there are no other filters on the dashboard, this option will be disabled.
- Add and Cancel: Click one of these buttons to save or cancel the new filter.
The Tiles to Update tab allows you to determine which tiles listen to the filter. Looker begins by automatically applying the filter to any tiles created from the same Explore as the filter and sets the Field to Filter to the same field as the field chosen for the filter:
- Select All or None to turn the filter on or off for all tiles.
- In the Field to Filter section, choose which field for each tile is affected by the filter, or choose not to apply the filter to that individual tile.
- Select Add or Cancel to save or cancel the new filter.
Dashboard Filter Controls
Dashboard filter controls allow you to customize the appearance of filters for dashboard viewers. The filter control types available in the Control drop-down as you create a dashboard filter depend on the LookML data type
assigned to the field you’re filtering on.
Control | Description | Control works with the following Data Types |
---|---|---|
MULTIPLE SELECTION FILTER TYPES | ||
Button Group | This type of filter is useful for giving viewers a curated set of limited options. Up to 30 options can be curated in the Values setting. If no values are selected, the first 30 values from the database are shown. A button is colored once selected. | string, number, tier, zipcode, yes/no, distance, duration |
Checkboxes | Like a button group but with a slightly different design, this type of filter is useful for giving viewers a curated set of limited options. Up to 50 options can be curated in the Values setting. If no values are selected, the first 50 values from the database are shown. | string, number, tier, zipcode, yes/no, distance, duration |
Tag List | A combination of drop-down and checkbox filters. The drop-down options can be curated in the Values setting or all options can be surfaced from the database. Viewers can expand the drop-down by clicking on the chevron. | string, number, tier, zipcode, distance, duration |
Range Slider | Slider range min and max can be set in the Settings tab of the filter configuration window. Viewers can set the filter value range by adjusting both ends of the slider. | number, distance, duration |
SINGLE SELECTION FILTER TYPES | ||
Button Toggles | This type of filter is useful for giving viewers a curated set of limited options. Up to 30 options can be curated in the Values setting. If no values are selected, the first 30 values from the database are shown. A button is colored once selected. | string, number, tier, zipcode, yes/no, distance, duration, parameter |
Radio Buttons | Like a button toggle but with a slightly different design, this type of filter is useful for giving viewers a curated set of limited options. Up to 50 options can be curated in the Values setting. If no values are selected, the first 50 values from the database are shown. | string, number, tier, zipcode, yes/no, distance, duration, parameter |
Drop-down Menu | The drop-down options can be curated in the Values setting or all options can be surfaced from the database. Viewers can expand the drop-down by clicking on the chevron and then either selecting an option from the drop-down or typing in the box to narrow the drop-down options. Viewers can also select Any value. | string, number, tier, zipcode, yes/no, distance, duration, parameter |
Slider | Slider min and max can be set in the Settings tab of the filter configuration window. Viewers can set the filter value by adjusting the right end of the slider. | number, distance, duration |
DATES AND TIMES FILTER TYPES | ||
Single Day | Viewers can expand to see the calendar by clicking on the date, and select a new day. | date and time Note: The single day control can be |
Date Range | Viewers can expand to see the calendar by clicking on the date range, and select a new date range. | date and time Note: The single day control can be |
Timeframes | Viewers can select from a set of timeframes built into Looker or create their own custom timeframes by clicking the Custom tab. See the Viewing Dashboards documentation page to see the full range of timeframe options for a Timeframes filter. Timeframes options such as Last 7 Days include the current day. For a timeframe that excludes the current day, select Advanced from the control drop-down and configure the value using complete days. Viewers can expand to see the timeframe options by clicking on the timeframe. | date and time Note: The single day control can be used with most timeframes and time-based types, but viewers can only select single dates with this type of control. |
OTHER FILTER TYPES | ||
Advanced | See the Using Advanced Filters section to learn more about advanced filters. | string, number, tier, zipcode, yes/no, distance, duration, location, parameter |
*Note about Date and Time Data: Some timeframes and time-based types are interpreted as different data types when Looker is selecting control options for them. Two examples are the yesno timeframe, which is interpreted as a yesno data type, and therefore has the control options available to the yesno type; and the hour_of_day timeframe, which is interpreted as a number data type, and therefore has the control options available to the number type. |
Using Advanced Filters
An advanced filter can be applied to all types of data and provides some additional flexibility in the filter conditions you can set up. To create an advanced filter, make sure you have selected Advanced in the Control field of the filter configuration window.
The Configure Default Value field populates with appropriate filter condition options for the type of data you’re filtering. For example, the filter below is filtering on distribution center name, which is a string
data type, so the filter condition options include is, contains, starts with, and so on.
Filters on other types of data, such as number
or date
types, will display different condition options.
Once you’ve selected your filter condition option, you can select a value from the drop-down to the right, which is populated with values from your database. Or, you can type a value to receive a suggestion.
You can also enter a value yourself and click Create “value” to create a value.
You can click the +
next to your filter to add new conditions to the filter, which will be added as either OR
conditions or AND
conditions, depending on the types of conditions and values. To remove a condition, click the X
next to that condition.
Advanced Filters, Dates, and Times
While there are several filter controls that allow filtering on dates, you can also use advanced filters with dates. Among other things, using advanced filters allows users to select “complete” ranges that do not include the current time period, by selecting complete days, complete weeks, and so on, in the condition options. This is unlike the timeframe filter control, which includes the current time period.
Advanced filters also allow users to select time values, such as hours, minutes, seconds, and so on.
Matches a User Attribute
Advanced filters also give you the option to select matches a user attribute. This allows you to set filters that change dynamically based on dashboard viewers’ user attributes. See the Filtering and Limiting Data documentation page for more information.