Dashboard Display Controls

Prev Next

Overview

Display controls let dashboard viewers change how charts show data, directly from the dashboard and without editing the charts. For example, viewers can switch a breakdown from product line to country, show monthly instead of quarterly totals, or hide a layer on a map.

Display controls sit in the filter bar next to native filters, in their own Display controls section. Use filters to choose which data is shown, and display controls to choose how it is broken down and displayed.

Image

Display control types

Type What viewers can change Applies to
Dynamic group by The columns charts are grouped by (their dimensions) Charts using the selected dataset
Time grain The time grain of time-based charts (for example week, month, quarter) Charts using the selected dataset
Time column Which temporal column charts use for time Charts using the selected dataset
Deck.gl Layer Visibility Which layers of a deck.gl Multiple Layers chart are visible deck.gl Multiple Layers charts

Add a display control

  1. Open the dashboard and expand the filter bar on the left.
  2. Click the gear icon in the filter bar header and select Add or edit filters and controls.
  3. Click + New and select Add display control.
  4. Select the Display control type and enter a Display control name (for example "Group sales by").
  5. Fill in the settings for that type (see the sections below).
  6. Optionally, open the Scoping tab to choose which charts the control applies to (see Scoping).
  7. Click Save.

All types share these settings:

  • Description: shown to viewers as a tooltip on the control.
  • Display control has default value: the value applied when the dashboard loads. Without a default, charts show their saved configuration until a viewer makes a selection.

To group controls in the filter bar, use + New > Add divider and give the divider a title and an optional description.

Dynamic group by

Lets viewers choose the columns that charts are grouped by. For example, a "Sales by product line" table can show sales by country instead.

Image

Settings

  • Dataset: the control applies to charts that use this dataset. To control charts on several datasets, add one control per dataset.
  • Groupable columns: the columns viewers can choose from. Leave it empty, or keep every column selected, to offer all groupable columns, including columns added to the dataset later.
  • Can select multiple values: lets viewers pick several columns at once (enabled by default). The chart is then grouped by all of them.
  • Sort display control values: sorts the list of columns shown to viewers.
  • Display control has default value: the column(s) applied when the dashboard loads. Only groupable columns can be used as a default.

How charts change

The selected columns replace the chart's dimensions. Everything else (metrics, filters, sorting, time range) stays as saved in the chart. How the columns are used depends on the chart type:

Chart type Selected columns become
Bar, Line, Area and other time-series charts The chart's dimensions (series). The X-axis is not changed.
Table, Pie, Treemap and most other charts The chart's dimensions
Pivot Table The pivot's columns. Rows are not changed.
Sunburst The hierarchy, in the selected order
Heatmap, Waterfall, Word Cloud The first selected column only
Sankey, Graph Source and target (first two selected columns)
Bubble Series and entity (first two selected columns)

Things to know:

  • A selected column that the chart already uses (for example as its X-axis or inside a metric) is skipped for that chart.
  • These chart types don't support Dynamic group by and are never changed: Big Number, Big Number with Trendline, Period-over-period KPI, Calendar Heatmap, Country Map, World Map, Gantt, Chord, and deck.gl charts.
  • If two Dynamic group by controls apply to the same chart, the chart is grouped by the columns selected in both.
  • Charts affected by a display control show a Display controls indicator in their header. Hover over it to see which controls are applied.

Image

Image

Dynamic group by replaces the Jinja-based approach described in Using Jinja to Manipulate Aggregated Columns of a Chart.

Time grain

Lets viewers change the time grain of time-based charts, for example from month to quarter.

  • Dataset: the control applies to charts that use this dataset.
  • Pre-filter available values: limits the time grains offered to viewers (for example Week, Month, Quarter and Year). This only limits the list; it doesn't add conditions to the queries.
  • Display control has default value: the time grain applied when the dashboard loads.
  • Value is required: viewers can't clear the selection.

Image

Time column

Lets viewers choose which temporal column charts use for time, when the dataset has more than one (for example order date or ship date).

  • Dataset: the control applies to charts that use this dataset. Viewers can choose among the dataset's temporal columns.
  • Display control has default value: the column applied when the dashboard loads.

Image

Deck.gl Layer Visibility

Lets viewers hide individual layers of deck.gl Multiple Layers charts on the dashboard. The control lists every layer of those charts; viewers select the layers to hide.

This control doesn't use a dataset. If the dashboard has no deck.gl Multiple Layers chart, the control shows a message saying so.

Scoping

By default, a display control applies to every eligible chart on the dashboard (for dataset-based types, every chart that uses its dataset). Use the Scoping tab to limit it to specific charts or tabs, the same way as for native filters.

Using display controls (viewers)

Expand the filter bar and find the Display controls section. Select a value in a control, then apply your selection. The charts in scope refresh with the new setting. To go back to the charts' saved configuration, clear the control.

Frequently asked questions

Do display controls change the saved charts?

No. They only change how charts are displayed on the dashboard for the current viewer. The saved chart is unchanged.

Can I limit which charts a display control affects?

Yes. Use the Scoping tab.

Can one Dynamic group by control affect charts on several datasets?

No. Each control applies to one dataset. Add one control per dataset.

Can I restrict which columns viewers can group by?

Yes. Select them in Groupable columns.

Do display controls affect data access?

No. Display controls respect existing data access and Row Level Security permissions.

Can I use display controls in embedded dashboards?

Yes. Display controls work the same way in embedded dashboards as in the Preset app.

Are display controls included when exporting a dashboard?

Yes. Display controls are exported and imported with the dashboard.