extract_report_level_measures
Reads report-level measures from a .pbix and promotes them as model measures, preserving format and folder. Skips duplicates and returns the list of promoted measures.
Instructions
Promote report-level measures into the model as real measures: read the report definition's config.modelExtensions[].entities[].measures[] from a .pbix on disk and add each to its host table (keeping format/folder), skipping any name that already exists. Returns the measures promoted.
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": {
"sessionId": "<sessionId>",
"pbixPath": "<pbixPath>"
},
"name": "extract_report_level_measures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pbixPath | Yes | path to the .pbix whose report-level measures to promote | |
| sessionId | Yes |