add_to_perspective
Add a table or a specific column, measure, or hierarchy to a Power BI perspective. Omit the child object to include the entire table, and run add_perspective first.
Instructions
Add a table - or a specific column / measure / hierarchy on it - to a perspective. Omit childObject to include the whole table. Run add_perspective first.
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>",
"perspective": "<perspective>",
"table": "<table>"
},
"name": "add_to_perspective"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | table to include | |
| sessionId | Yes | ||
| childObject | No | a column, measure or hierarchy on the table; omit to include the whole table | |
| perspective | Yes | perspective name |