Skip to main content

Metric properties

Metrics define measurable quantities that you can query through the Semantic Layer. You define them in different places, depending on your dbt version:

  • In a model using the latest YAML spec. Top-level metrics: list on a model that has semantic modeling enabled, alongside semantic_model: and columns:. Available in the dbt platform Latest release track and the dbt Fusion engine.
  • In the standalone legacy YAML spec. Refer to Creating metrics for more information.
Availability

The latest YAML spec is supported in the following environments:

  • dbt platform (Latest release track): Available now
  • dbt Fusion engine: Available now
  • dbt Core: Support coming in v1.12 (May 2026)

For more information, refer to Migrate to the latest YAML spec.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0
Loading