- Topics
- Query views
- Measures
Use
always_where_filters and default_filters to add filters to topics. For example:Topic default_filters
Operators
Operators allow you to specify the type of filter you want to apply. Operators consist of a string, appended with a colon (:): <operator>:. Filter values should follow the colon.
For example:
Types
Omni supports several types of operators, such as conditional, time, numeric, and text. Refer to the Filter operators reference for a complete list of operators.Negation
Prefix a filter operator withnot_ to create a negation. For example, day_of_week would become not_day_of_week.
Filter values
Include filter values after the operator and the colon. Values should be unquoted; quotes will be removed upon saving.Filter values should be unquoted
Strings & dates
Provide strings and dates as unquoted values:String value
Date value
Booleans
Omni supports both two-state (true / false) and three-state (true / false / null) boolean logic. The special boolean argument falsey represents both false and null and can be used in filters like any other field value.
Counts if error = false or null
Count if error = false
Arrays / lists
Arrays are constructed using square brackets ([]). Add the filter values inside the brackets, for example:
Array of numbers
Array of strings