Skip to main content
This is a top-level parameter in query views - it shouldn’t be nested under the query parameter.
Omni adds this parameter to query views by default, regardless of whether a measure is in the query. The default measure creates a COUNT(*) that counts all rows in the query results. Note: Other aggregations aren’t automatically added to this parameter - they are dimensionalized and added to dimensions.

Syntax

measures:
  <measure_name>:
    aggregation_type: <type>
    ...

Properties

measures
object[]
An object containing the individual parameters that make up a query view’s query definition.

Examples

Default count measure
measures:
  count:
    aggregate_type: count