# How should I choose between Dataflow Gen2, notebooks, T-SQL, and pipelines for Fabric transformations?

Exam: DP-600 — Implementing Analytics Solutions Using Microsoft Fabric
Knowledge domain: Prepare data (45–50%)
Updated: 2026-11-19T05:35:26.764371+00:00
HTML: https://learningpathx.com/faq/DP-600/dp600-transformation-tool-selection.html

## Also asked as

- Which Fabric tool should own low-code, Spark, SQL, and orchestration work?
- Where should data-shaping rules run in a Fabric preparation workflow?

Use Dataflow Gen2 for maintainable Power Query shaping, notebooks for code-first lakehouse processing, and Warehouse T-SQL for relational transformations close to stored tables. Use a pipeline when those activities need shared scheduling, dependencies, parameters, or failure handling.

Choose by data location, processing scale, author skills, reuse needs, and operating requirements. A transparent series of tabular renames, type conversions, and merges can suit Dataflow Gen2\. Nested records, complex matching, reusable code, or distributed Spark work can suit a notebook. Stable relational joins and set-based transformations can suit T-SQL in a Warehouse.

Give each substantive rule one owner. For example, a pipeline can wait for copy completion, invoke a dataflow, run a notebook, and publish a validated Warehouse result. It should pass control information and expose failures rather than duplicate the transformation logic.

This is not a mandatory four-tool chain. If one appropriate engine implements the preparation clearly, adding more activities and tools increases maintenance without improving the result. Lakehouse writes must use supported engineering paths rather than assuming its read-oriented SQL endpoint is a Warehouse.

[Dataflow Gen2](https://learn.microsoft.com/en-us/fabric/data-factory/dataflows-gen2-overview). [Pipelines](https://learn.microsoft.com/en-us/fabric/data-factory/pipeline-overview). [Lakehouse processing](https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-overview). [Warehouse processing](https://learn.microsoft.com/en-us/fabric/data-warehouse/data-warehousing).

Source: [DP-600: Transforming and Cleaning Data in Microsoft Fabric](https://learningpathx.com/news/dp-600-transforming-and-cleaning-data-in-microsoft-fabric.html)
