Forum Discussion
SQL Query working on Datamart but not on Fabric Warehouse
- 7 months ago
What you’re seeing (“Evaluation Cancelled” in Dataflow Gen2 when you switch from Datamart to Fabric Warehouse) is usually a mix of:
- Power Query Online’s preview/evaluation time limit being hit (10‑minute evaluation window) and/or
- T‑SQL differences between Datamart and Warehouse that prevent the query from returning schema quickly enough to validate.
Hi MBAKU ,
This is a very common migration issue from Datamart → Fabric Warehouse, and it’s not caused by Dataflow itself.
Your query is valid in Datamart, but Fabric Warehouse has a different SQL engine and execution model, and Dataflow Gen2 is far less forgiving when previewing.Datamarts and Fabric Warehouses do NOT use the same SQL engine, even though both look like “SQL endpoints.
So a query that runs in Datamart can:
Timeout
Fail planning
Get canceled
when evaluated by the Fabric Warehouse engine.
That’s why Dataflow shows:
“Evaluation Cancelled”
This is not a syntax error — it’s an execution/planning failure.
Clear next steps for you
Test the SQL directly in the Warehouse endpoint
Identify unsupported constructs
Move complex logic into:
Warehouse views, or
Precomputed tables
Keep Dataflow Gen2 simple
If this post helps, then please appreciate giving a Kudos or accepting as a Solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!