For dbt developers working in Microsoft Fabric

Keep the code-first approach. Go further in Fabric.

You already know the appeal of defining data models in code. Weaver takes that approach across more of Microsoft Fabric: Python data loading, Lakehouses, Warehouse SQL, native Power BI, testing and the work that connects them.

Read more about dbt on Fabric →

More of Fabric, less work joining the pieces

One project from source data to Power BI

Load files and APIs with Python, build Delta Tables in a Lakehouse, write T-SQL in a Warehouse, then deploy native Power BI models and Reports. Weaver connects the supported steps in the right order.

Keep your SQL looking like SQL

Write an ordinary Warehouse SELECT. Weaver creates the table and loading code around it, including staging, key-based updates and recorded row changes. Python and supported SQL references also help establish what depends on what.

Build first. Load when you're ready.

weaver build deploys tables, views, shortcuts and loading code. weaver load runs the data work separately. Preview proposed changes before applying them, or run only the parts you need.

Develop with the data already there

Mirror can use existing Warehouse and Lakehouse data through views and OneLake shortcuts. Make local changes to the parts you're working on without copying every table into development.

See beyond dbt job history

dbt shows job results and lineage. Weaver adds queryable Fabric Warehouse history and a Power BI dashboard for the Lakehouse, Warehouse and semantic-model work it manages, including ER diagrams and model bus matrices. See the difference →

Take native Power BI all the way to deployment

Use PBIP and TMDL, apply shared or model-specific rules, unit test DAX measures against independent SQL results, and deploy Reports connected to the right semantic model.

Build it. Load it. Test it. Know where it stands.

Deploying a table, loading its data and checking the results are separate steps. Run just the one you need. Here is the workflow for a Warehouse item:

From a configured Fabric project
weaver build --item Warehouse/Operations   # Deploy its definitions
weaver load Warehouse/Operations           # Run the data work
weaver test Warehouse/Operations           # Check the results
weaver health                              # Inspect the whole project

See how the commands work →

Beyond dbt lineage: see your Fabric estate in Power BI

dbt in Fabric already gives you job results, tests and model lineage. Weaver adds a different perspective: what is happening across the Fabric project it manages?

dbt in Fabric

Inspect dbt job runs, tests, compiled SQL and model dependencies. Detailed execution logs are stored in OneLake.

Weaver

Query deployment, load and test history in Fabric Warehouse tables. Open a ready-to-use Power BI dashboard covering managed Lakehouses, Warehouses and semantic models, including Health, performance and workflow timelines.

Lineage isn't the same as data modelling. dbt's lineage shows transformation dependencies. Weaver also shows declared primary-key and foreign-key relationships in an ER diagram, and fact-to-dimension relationships in a bus matrix for each native Power BI semantic model.

Try all seven interactive dashboard pages →Explore the semantic-model bus matrix →

The differences, side by side

This compares Weaver with dbt jobs and the Warehouse and Spark adapters in Fabric. dbt also offers additional Catalog and documentation features outside the Fabric job experience.

✓ included   ◐ partial support   ✕ not built into the adapter

Capability Weaver dbt on Fabric
Fabric projects
Manage Lakehouse and Warehouse work in one project ✓ ✕ Warehouse and Spark use separate adapters and targets
Include Fabric shortcuts in the dependency graph ✓ ✕ not graph resources
Use the same project files in development and production ✓ ◐ targets and database configuration change relation locations
Develop using existing Fabric data without full copies ✓ ◐ table clone is documented within a Warehouse
Handle SQL endpoint refresh as part of cross-engine Load✓ Refresh metadata when required; SQL consumers wait for the endpoint to be ready✕ Fabric synchronises SQL metadata separately; dbt jobs do not manage this readiness step
Authoring
Write SQL without dependency macros ✓ ✕ dependencies use ref() and source()
Recognise dependencies from Python imports ✓ ✕ Python models use dbt.ref()
Python loaders for APIs, SFTP, archives and files ✓ ✕ Python models produce relations
Warehouse identity column declared with the table ✓ ✕ not provided as a model setting
Build and runs
Create tables and loading code without running a data load ✓ ✕ model materialisation creates and populates the relation
Query deployment, load and test state in Fabric Warehouse tables✓ Catalogue includes definitions, dependencies, outcomes and history◐ Fabric dbt jobs show run, test and lineage views; detailed logs and generated artifacts are in OneLake, not a comparable built-in SQL catalogue
Track where each table should resume loading ✓ bookmarks ◐ incremental models usually query the target
Assess current, stale, failed and blocked work together✓ Health combines installed definitions, loads and validations◐ Fabric dbt jobs show run and test outcomes; no equivalent cross-workload Health report
Keep unrelated work running after a failure ✓ with fault-tolerant loading ✓ descendants are skipped
Loading data
Support incremental changes from multiple sources, including inserts, updates and deletes✓ Custom Python or SQL chooses candidates and delete keys; Weaver handles staging, applying changes and per-consumer progress✓ Multi-source models, merge and delete strategies are available; exact behaviour depends on adapter and configuration
Reject invalid input rows and keep the reason ✓ ✕ no built-in rejected-row quarantine
Stop unexpectedly large data changes before applying them ✓ ✕ not a built-in model policy
Catalogue Dashboard and visual exploration
Deploy a Power BI dashboard for Health, performance, Gantt and orchestration✓ Ready to deploy over queryable Catalogue tables◐ Fabric dbt jobs show run, test and lineage views, not a bundled Power BI estate dashboard
Explore table relationships with an ER diagram✓ Uses declared Lakehouse and Warehouse primary/foreign keys◐ dbt provides lineage graphs; a key-based ER diagram is not a built-in Fabric dbt job view
See fact/dimension relationships in a Power BI model bus matrix✓ Shows semantic-model table relationships and their properties✕ Not provided as a built-in Fabric dbt job view
Power BI semantic models and Reports
Deploy native Power BI models and Reports✓✕not part of dbt-fabric deployment
Apply shared Power BI rules and reuse models✓✕dbt semantic models define its own metrics layer
Unit test DAX measures against SQL results✓✕not a dbt-fabric validation target
Refresh Power BI models after source data loads✓✕Power BI refresh is outside the adapter run

Migrating from dbt

Weaver uses declarative files for the whole Fabric estate. A dbt project fits naturally into the part that handles Tables, Views and Tests.

Use this agent brief with a coding agent to migrate your project.

View Markdown

Migration guide Scroll to read

Migrate a dbt project to Weaver

You are migrating an existing dbt project on Microsoft Fabric to Weaver.

Weaver is a declarative framework for data engineering on Microsoft Fabric. A Weaver project declares Tables, Views, Folders, Shortcuts, Tests and Assumptions using ordinary SQL, Python and metadata. Weaver manages deployment, dependencies, incremental loading, testing and operational state.

Express the dbt project’s intent using Weaver’s native architecture rather than mechanically reproducing dbt’s implementation. Inspect the source, confirm the architecture decisions with the user, then implement and validate the migration.

Migration contract

Produce a working Weaver project that preserves the original business logic, data outputs, incremental behaviour and validations.

Every in-scope dbt resource must have a corresponding Weaver implementation, documented alternative or explicitly reported gap.

Preserve the original dbt project. Do not perform destructive operations or deploy to production without authorisation.

1. Understand the source project

Run:

terminal
dbt parse

Treat target/manifest.json as the authoritative inventory of models, dependencies, sources, tests and other resources.

Use dbt compile where necessary to inspect generated SQL, subject to the permissions and execution requirements of the source project.

Reference: dbt parse.

2. Confirm migration decisions with the user

Before generating Weaver definitions, inspect the source project and propose answers to the following questions.

Ask the user to confirm or modify your recommendations. Group the questions into one concise interaction. Do not ask questions whose answers are already clear from the source project.

A. Source environment and scope

Which dbt target/profile and project scope should be migrated? All enabled models, or a selected subset? Should seeds, snapshots, tests and custom hooks be included?

Default: Migrate all enabled resources and report unsupported features.

B. Fabric destinations

Which Fabric workspace, Lakehouses and Warehouses should the new Weaver project use?

Propose logical Weaver item names, physical Fabric item names, a catalogue Warehouse and, where required, a Fabric Environment.

Should the project use new destinations or existing items?

Default: Use new, isolated development destinations. Preserve the original SQL engine used by each model.

C. Names and schemas

Should schema, table, view and column names remain unchanged, or should they be standardised during migration?

Default: Preserve existing business-facing names.

D. External references

Should references to other Fabric items use Weaver Shortcuts, or retain direct physical references where supported?

Default: Use logical Shortcuts for Weaver-managed producers and physical Shortcuts for external Fabric data wherever supported. Use direct references only where appropriate.

Account for differences in supported Shortcut types and workspace boundaries.

E. Incremental loading

Should incremental models retain their current change-selection strategy, or be adapted to use Weaver’s per-consumer bookmarks?

Inspect the source’s available timestamps, CDC, change history, deletion handling and late-arriving records before recommending a strategy.

Default: Preserve existing incremental semantics. Recommend bookmark-driven selection where change evidence is sufficient and the resulting behaviour can be validated.

Do not silently substitute bookmarks for target-derived watermarks or other existing state mechanisms.

F. Existing data and historical state

Should migrated tables start empty and be rebuilt, or should existing target data, snapshots and history be preserved?

Identify any objects that cannot safely be reconstructed.

Default: Build new targets without modifying existing data. Explicitly plan historical-state preservation where required.

G. Validation and deployment

Is an isolated Fabric workspace available for Build, Load and Test? Can the agent read the original datasets to compare results?

Should the migration stop at validated project files, or proceed to a fully tested non-production deployment?

Default: Perform local validation without deployment unless explicitly authorised.

For unusual resources such as custom dbt materialisations, macros, packages and snapshots, ask additional targeted questions only when necessary.

3. Implement the Weaver project

Follow the architecture and authoring contracts in the documentation.

Architecture and configuration

Data engineering

Validation

Use these specifications to implement the project. Prefer native Weaver capabilities rather than recreating dbt-specific runtime machinery.

4. Validate

Run this throughout the migration and once after completing it:

terminal
weaver check

Reconcile the migrated project against target/manifest.json. Account for every in-scope resource.

Where authorised, perform a Build dry-run:

terminal
weaver build --dry-run

Where authorised and an isolated Fabric environment is available, deploy there and compare schemas, row counts, keys, calculated results, incremental updates, deletes and test outcomes.

A successful dbt parse and weaver check establish structural validity. They do not establish functional data equivalence.

5. Deliver

Provide the complete Weaver project, a dbt-to-Weaver resource mapping, the configuration decisions made, validation evidence and unresolved migration gaps.

The migration is complete only when the required behaviour has been preserved and independently verified.

Try it with one Fabric item

Start with a Warehouse query, a Lakehouse table or an existing Power BI model. Try Weaver on one part of your Fabric work, then add more when it's useful.

The Power BI comparison is about deploying and testing native PBIP/TMDL models and Reports. dbt's Power BI Semantic Layer integration is a different workflow.

Comparison sources: Fabric dbt job UI, OneLake job logs, SQL endpoint metadata sync, dbt incremental models, dbt-fabric changes, dbt-fabricspark and dbt Catalog.