Use this file to discover all available pages before exploring further.
Filtered measures can be built using aggregation alongside a dimension filter. When building measures in the UI, filters may only be available for standard measures and quick-aggregates. For measures built with custom SQL logic, best practice is to define filters in the YAML definition.See full page on filter syntax here.
A mapping of field names to their filter conditions using filter syntax. Multiple filters can be added, and multiple values for a given filter can be added using array syntax.
count_california_seniors: aggregate_type: count filters: age: greater_than_or_equal_to: 65 state: is: California
Filter with array values
count_ny_or_nj: aggregate_type: count filters: state: is: [New York, New Jersey]
Filter using modeled boolean field
### note filtered measures can point to raw columns or modeled fieldsdimensions: is_big: sql: ${employee_count} > 100000measures: count_large: aggregate_type: count filters: is_big: is: true
Complex logic with boolean dimension
complex_dimension_example: sql: ${state} = 'California' OR ${age} > 65count_complex_logic: aggregate_type: count filters: complex_dimension_example: is: true