semantic_model_execute_dax
Execute DAX queries against Power BI semantic models using the Fabric API to retrieve and analyze data.
Instructions
Execute a DAX query against a semantic model via the Power BI API
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": {
"workspaceId": "<workspaceId>",
"semanticModelId": "<semanticModelId>",
"query": "<query>"
},
"name": "semantic_model_execute_dax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The DAX query to execute (e.g., 'EVALUATE Sales') | |
| workspaceId | Yes | The workspace ID (Power BI group ID) | |
| semanticModelId | Yes | The semantic model/dataset ID |