Power BI Validation
Use this for PBIP/PBIR/TMDL edits or a requested project validation. Business questions and page plans need their relevant semantic/planning review, not structural commands against nonexistent or unchanged artifacts.
Harness-neutral validation contract
The validation route accepts a repository or project target (default .)
and runs these steps in order:
node workspace/engine/validate-pbip.mjs <target>;pbir validate <Report.Report> --allfor each report whenpbiris installed;- approved Fabric existence or item checks only when service scope is relevant.
For renames, also search affected model/report references for the old names, including filters, sort definitions, DAX queries, and diagram layouts. A missing optional tool or an unrun service check is not a completion claim.
When a change can affect a KPI, data shape/model, or access-sensitive decision, use the canonical regression recipe and report the selected case, its result, or its evidence gap. Inspect actual final bytes and affected documentation.
Return files changed, blockers, warnings, exact paths, commands run, unavailable checks, and remaining risks. Native Power BI, Fabric, Tabular Editor, and DAX Studio results are optional evidence and must never be invented. Return this handback concisely at the caller's requested depth and language.
Common blockers
- invalid JSON
- broken
definition.pbirbinding - missing theme/resource files
- page/visual folder-name mismatch
- renamed fields still referenced in visuals
- TMDL indentation or malformed descriptions