execute_dax_service
Query published Power BI Service datasets via DAX through REST API, returning up to a specified row limit for AI-driven analytics and reporting.
Instructions
Truy vấn dữ liệu từ Dataset đã xuất bản trên Cloud Power BI Service thông qua REST API.
dataset_id: Mã GUID của dataset cần truy vấn.
dax_query: Câu lệnh DAX (ví dụ: 'EVALUATE SUMMARIZECOLUMNS(...)')
max_rows: Số dòng tối đa trả về (mặc định 1000; siết 200 khi kết quả có cột dimension). LƯU Ý POLICY: như execute_dax_local.
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": {
"dataset_id": "<dataset_id>",
"dax_query": "<dax_query>"
},
"name": "execute_dax_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_rows | No | ||
| dax_query | Yes | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |