SF logo
Power BI toolkit

Validation Query Builder

Pick a check, choose measures and columns from your model, and copy a ready-to-run DAX query that validates numbers, totals, relationships or a whole table. No Copilot needed.

Step1

Export your model from Power BI Desktop

The same query the other toolkit pages use. If you already ran it, paste those results in Step 2.

  1. Open your report in Power BI Desktop and select DAX query view on the left rail.
  2. Paste the query below into a new query tab and select Run.
  3. Above the results grid, select Copy. It copies every row with the column headers.
DAX query

      
Step2

Paste the results

The page reads your tables, columns, measures and relationships so every name in the query is exact.