pbi_diff_model
Compare two semantic models to detect breaking changes across tables, columns, DAX measures, relationships, partitions, shared M expressions, and RLS/OLS roles, then list impacted reports and visuals.
Instructions
Compares two semantic models in the local catalog (for example PROD vs DEV) across tables, columns, DAX measures, relationships, partitions, shared M expressions, and RLS/OLS roles. Classifies breaking changes and optionally checks bound reports on the base model to list impacted visuals and report-level DAX. Supports base_workspace and target_workspace filters to disambiguate identically named models across environments. Use for release review and deployment impact checks. Do NOT use to inspect a single model (use pbi_inspect_model instead).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_model": "<base_model>",
"target_model": "<target_model>"
},
"name": "pbi_diff_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_model | Yes | Base semantic model name or dataset GUID (e.g. current PROD). | |
| target_model | Yes | Target semantic model name or dataset GUID (e.g. candidate DEV/UAT). | |
| base_workspace | No | Optional workspace filter for base_model. | |
| target_workspace | No | Optional workspace filter for target_model. | |
| check_report_impact | No | Cross-reference removed fields against reports bound to base_model (default: true). | |
| ignore_formatting_only | No | Ignore whitespace/newline-only differences in DAX, M, and RLS expressions (default: true). |