Study FAQ
How do I review and reuse a Fabric Visual Query Editor query safely?
Also asked as 2
- What should I check before saving a Fabric visual query as a view?
- How can I inspect the SQL behind a Fabric visual query?
Answer
Inspect the selected tables, join keys, join kind, filters, and generated SQL before relying on a Fabric visual query. A visual canvas reduces syntax work; it does not prevent incorrect cardinality or excluded records.
Open New visual query and drag the required tables from Object explorer onto the canvas. For a merge, choose the intended keys and join kind, then expand only the required columns. Compare row counts and known records before and after the merge.
Use View query to inspect the generated T-SQL and Edit SQL script when a maintained code query is needed. For merged queries, the load-enabled query determines which SQL is shown. Only a supported subset of foldable Power Query operations is available; some steps cannot be fully translated into a Warehouse view.
When a result should be reused, Save as view lets you select an authorized schema, name the view, and verify its SQL before creation. Confirm the view's results and access with the intended consumer. Read-only visual querying is distinct from the separate save actions and does not provide an arbitrary DML authoring surface.
Full explanation
DP-600: Querying Microsoft Fabric with Visual Query Editor, SQL, KQL, and DAX
Study guide · DP-600
Read the full explanation