audit_model_and_report
Audit Power BI projects (.pbip) for compliance with best practice rules, DAX quality, naming conventions, and WCAG 2.1 accessibility. Returns score and findings.
Instructions
Composite quality and compliance audit on a Power BI project (PBIP).
Use this tool when the user asks to:
Audit, inspect, or validate a Power BI project (.pbip) or semantic model.
Check Best Practice Analyzer (BPA) rules, DAX code quality, or naming conventions.
Validate WCAG 2.1 accessibility (contrast, missing alt text, chart readability).
Args: pbip_path: Path to the root .pbip directory or folder. bpa_ruleset: Best practice ruleset to run ("default", "strict", "lenient"). dax_measures_json: Optional JSON string or dictionary mapping measure names to DAX expressions. bpa: Whether to execute Tabular BPA checks. dax_lint: Whether to execute static DAX linting checks. accessibility: Whether to audit WCAG 2.1 accessibility on report pages. naming: Whether to validate column, measure, and table naming conventions.
Returns: Dict with overall score (0-100), pass/fail status, and categorized findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpa | No | ||
| naming | No | ||
| dax_lint | No | ||
| pbip_path | Yes | ||
| bpa_ruleset | No | default | |
| accessibility | No | ||
| dax_measures_json | No | {} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||