Skip to main content
A dashboard filter lets viewers slice every chart on a tab at once, for example by date range or region. It works by feeding a value into the filters (placeholders) defined in each chart’s SQL. See Chart filters. Each tab has its own filters. They show in the filter bar at the top of the dashboard.

How filters reach charts

A dashboard filter is bound to a chart through one of that chart’s placeholders. When a viewer picks a value, Matys puts it into the placeholder and re-runs the chart. When you add a chart to a tab, Matys binds its placeholders for you:
  • A placeholder with the same name and type as an existing filter on the tab is bound to that filter.
  • Any other placeholder gets a new filter on the tab, built from the placeholder’s settings.
You can change the bindings at any time in the filter editor.
A few placeholders are not bound automatically: text placeholders that test for an empty value, and number placeholders with a fixed list of options. Bind those by hand if you need them.

Create a filter

1

Open the filter editor

Click Add in the top bar and choose Filter. You need edit access to the dashboard.
2

Define the filter

Fill in the Filter Name and pick a Value Type: Text, Number, Date or Boolean. Set the options for that type, described below.
3

Pick a default

Under Default Value (Optional), choose a value, or tick Default (per chart) so each bound chart uses the default its own author set.
4

Bind it to charts

Click Next. Tick each chart the filter applies to and pick which of its placeholders receives the value. Only placeholders of the same type are offered.
5

Save

Click Create Filter. The filter appears in the filter bar.
You can also ask the Matys AI analyst in the dashboard chat to set up filters. See Build a dashboard.

Options by type

Operator: Equals, Does not equal, Contains, Does not contain, Starts with or Ends with. Cardinality: Single value or Multiple values. Input Mode: Dropdown list or Free text input.
Operator: =, ≠, >, < or Between. A Between filter takes a min and a max value. Cardinality and Input Mode work as for text.
The default is a period, such as a date range or a relative period like Last 30 days.
The default is True, False, Any or No default.
A dropdown filter needs options. Under Options Source, choose one of:
  • Static list: type each Value and its Label.
  • Dynamic (datasource query): pick a Datasource and write an Options Query. It MUST return a value column and MAY return a label column, up to 1,000 rows. Click Validate & preview to check it before you continue.
Dynamic options always use a dropdown.

Required filters

Tick Required field to make viewers choose a value. Until they do, each chart bound to the filter shows Required filters not set and lists the filters to set. A filter that isn’t required SHOULD have a default value, so its charts render on first load.

Use the filter bar

  • Click a filter to change its value.
  • Reset to default in a filter’s menu puts that filter back. Reset puts them all back.
  • Editors can drag filters to reorder them, and use Edit filter or Remove in a filter’s menu.
The values you pick apply to your own view only. They don’t change the dashboard for anyone else, and they go back to the defaults when you reload. When an editor changes a filter’s default, your value switches to the new default. A filter that is not bound to any chart shows This filter is not bound to any chart.

Delete a filter

Choose Remove in the filter’s menu.
  • A filter with no bindings is deleted after you confirm.
  • A filter bound to charts opens a dialog that lists those charts. Delete removes the filter and leaves the chart placeholders as they are. Delete & clean up with AI also asks the Matys AI analyst to remove the placeholder references from the affected charts.

Repair broken bindings

A binding breaks when a chart no longer has the placeholder it was bound to, for example after the chart’s SQL was changed. The filter then shows Some bound charts no longer have this filter. Open the chart to repair. The affected chart shows a Broken filter bindings button. Open it to see each broken filter and the placeholder it Was bound to.
  • Remove drops the binding.
  • Rebind to… connects the filter to another placeholder of the chart.