Highlight

dbt semantic models are MetricFlow graph nodes tied to DAG models

Semantic models

dbt docs explain semantic models as YAML-configured nodes and entities that MetricFlow uses for the Semantic Layer.

Curated by Aramai Editorial

Based on

Semantic models | dbt Developer Hub

dbt Labs
Read original article →

Semantic models underpin data definition in MetricFlow, which powers dbt’s Semantic Layer (v1.12+). They are nodes connected by entities; MetricFlow builds the graph from YAML metadata on dbt models. Each semantic model matches one dbt model via a semantic_model block, with an optional display name. Configuration sits in project YAML inside model definitions, or via Apache Ossie documents. Documented components include name, required agg_time_dimension, and entities typed as primary, foreign, unique, or natural.

Analytics engineering teams get a single place to declare how warehouse models participate in metrics, instead of re-encoding joins and grain in every BI tool.

That graph is shared meaning: entities and time dimensions become the join and aggregation vocabulary MetricFlow and downstream tools reuse for governed metric queries.

Put this to work on CoreModels

See all connectors →

Abstract

In dbt v1.12+, semantic models are the foundation for MetricFlow’s Semantic Layer: nodes linked by entities in a semantic graph, annotated on dbt models for metric use. Each DAG model maps to one semantic_model YAML block (or Apache Ossie docs); components include name, time dimension, and entities.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

semantic modelsmetricflowdbtentitiesyamlsemantic layeragg time dimensionSemantic LayerKnowledge GraphsOntology & TaxonomyData Engineering
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.