Model Usage
pbir_model_usageCross-reference semantic model with report to find measure and column usage, DAX dependencies, unused fields, and per-page coverage. Generates an HTML dashboard for visual inspection.
Instructions
Cross-reference the semantic model with the report — shows where every measure and column is used, DAX dependencies, unused fields, and per-page coverage. Also generates an HTML dashboard for visual inspection. Requires a sibling .SemanticModel/ folder alongside the .Report/ — call pbir_get_report first to check hasSemanticModel before invoking this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slim | No | Slim mode returns usage counts only. Set false for full visual-level detail. | |
| reportPath | No | Path to the .Report folder. Uses current connected report if omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| pages | No | ||
| _cache | No | ||
| cached | No | ||
| totals | No | ||
| unused | No | ||
| columns | No | ||
| success | No | ||
| measures | No | ||
| timestamp | No | ||
| hiddenPages | No | ||
| dashboardPath | No | ||
| parseWarnings | No |