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.
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.
Options by type
Text
Text
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.
Number
Number
Operator:
=, ≠, >, < or Between. A Between filter takes a min and a max value. Cardinality and Input Mode work as for text.Date
Date
The default is a period, such as a date range or a relative period like Last 30 days.
Boolean
Boolean
The default is True, False, Any or No default.
Dropdown options
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
valuecolumn and MAY return alabelcolumn, up to 1,000 rows. Click Validate & preview to check it before you continue.
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.
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.