dbt measures are column aggregations, now migrating to simple metrics
Measures | dbt Developer Hub
dbt documentation for measures as aggregations on model columns, with deprecation toward type: simple metrics.
Based on
Measures are aggregations on model columns, usable as final metrics or as building blocks. Required fields include a project-unique name and an agg from sum, max, min, average, median, count_distinct, percentile, and sum_boolean. Optional fields cover description, expr, non_additive_dimension, agg_params, agg_time_dimension, label, and create_metric. The docs warn that measures are deprecated; migrate each measure to a type: simple metric under metrics and upgrade to the latest YAML/v2 spec.
Teams maintaining MetricFlow configs need this mapping so metric definitions stay valid as the YAML contract changes.
Aggregations encoded once—whether as measures or simple metrics—are the shared arithmetic of governed metrics, so every consumer applies the same rollup rules.
Put this to work on CoreModels
Related connectors and recipes
See all connectors →Take the next step
Try CoreModels, talk with our team, or explore more resources.