Skip to main content
Applies a filter to all queries that start on the composite topic. Filters created using this parameter are visible in workbooks and can be removed by users. When a new default_filter is defined, it will only apply to new queries. The filter will not be added to existing queries. Refer to the Filters documentation for filter operator syntax and examples.

Syntax

Properties

object
required
A map of field references to filter conditions.

Behavior

If a default_filter entry sets required: true and a query omits the field, or a user clears the filter’s value, Omni substitutes the declared default back in. This substitution also applies to queries that were saved before the filter became required. Their saved filter list won’t show the required filter until the query is resaved, but Omni still applies the default when the query runs.

Examples

Default filter on shared dimension

Default filter on topic-scoped field

Default filter on shared view field

Multiple default filters

Required default filter