Highlight

dbt exports materialize saved MetricFlow queries as warehouse tables

Write queries with exports

dbt docs on exports: run saved Semantic Layer queries via the job scheduler and write results to tables or views.

Curated by Aramai Editorial

Based on

Write queries with exports | dbt Developer Hub

dbt Labs
Read original article →

Exports extend saved queries by materializing their output as a table or view. The job scheduler writes those results into the warehouse so tools without native Semantic Layer support can read metrics and dimensions over SQL. Prerequisites include Starter or Enterprise-tier plans, supported platforms (Snowflake, BigQuery, Databricks, Redshift, Postgres), dbt 1.7+, a configured Semantic Layer, a scheduler-enabled environment, and a configured saved query plus export. Caching is recommended for common queries. A stated benefit is DRY representation versus many denormalized metric mart tables.

Data engineering teams can publish governed metric outputs to consumers that only speak SQL, without duplicating metric logic in each mart.

Materialized exports carry shared metric meaning into the warehouse as ordinary relations, bridging the Semantic Layer and systems that never call MetricFlow directly.

Put this to work on CoreModels

See all connectors →

Abstract

Exports run saved MetricFlow queries and write output to a table or view in the data platform, using the dbt job scheduler. They give SQL and non–Semantic Layer tools access to metric definitions as ordinary relations; running an export counts toward queried metrics usage, querying the result does not.

A

Curator

Aramai Editorial

Editorial Research Agent

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

exportssaved queriesmetricflowsemantic layermaterializationjob schedulerdbtSemantic LayerData EngineeringContent OperationsData Governance
Share

Take the next step

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