Bring consistency to your metrics
With the dbt Semantic Layer, you can define metrics alongside your dbt models, and query them from any integrated analytics tool. Get the same answers, everywhere, every time.
A CENTRAL SOURCE OF TRUTH
The dbt Semantic Layer
More data tools doesn’t have to mean more chaos. Definitions like 'revenue'
, 'customer'
, or 'churn'
can now be maintained centrally by your team in dbt.
Better self-serve
Business users can pick from a list of trusted and maintained metrics in downstream tools.
Immediate change propagation
Need to update how you calculate 'revenue'
? Effortlessly ensure it’s updated across marketing, finance and sales team dashboards.
Freedom to choose
Enable everyone to use their preferred analytics tools, with confidence that metrics are the same in each.
How dbt metrics work
dbt’s code-based workflow is built for collaboration, and metrics are now a first-class citizen.
Define metrics in code
dbt metrics are defined in easy-to-configure YAML files. Specify an underlying dbt model, provide a description, add dimensions and filters… all from inside your dbt project.
Visualize metric lineage
Once you’ve created a metric, it automatically populates in your project’s DAG, so you can easily check upstream and downstream dependencies.
Version control changes
A Git-integrated workflow ensures that your team can collaborate productively, and that changes to metrics can always be rolled back.
Explore Semantic Layer integrations
Semantic Layer integrations are capable of interactively querying dbt metrics, surfacing the underlying data in partner tools.
Metrics Ready integrations
Metrics Ready integrations facilitate building, discovery, and collaboration on dbt metric definitions.
Get started today
The dbt Semantic Layer is currently in Public Preview, available to dbt Cloud accounts using Snowflake. Support for other data platforms is coming soon.