Skip to main content
Applies a filter to all rows in a topic. Filters created using this parameter are visible in workbooks and can be removed by users. For required filter conditions, use always_where_sql.
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 examples and syntax details.

Syntax

default_filters:
  <view_name>.<field_name>:
    <filter_operator>: <value>

Properties

default_filters
object
A map of field names to filter conditions. Each key is a field in the format view_name.field_name, and the value is an object containing filter operators and values. Refer to the Filters documentation for available operators and syntax.

Examples

default_filters:
  users.state:
    is: California