set_hierarchy_properties
Set hierarchy properties in Power BI: display folder, visibility, and blank member handling.
Instructions
Set hierarchy-level properties (any subset): displayFolder, hidden (show/hide the hierarchy), hideMembers = Default | HideBlankMembers (hide blank members of the hierarchy).
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>",
"table": "<table>",
"hierarchy": "<hierarchy>"
},
"name": "set_hierarchy_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| hidden | No | hide (true) or show (false) the hierarchy | |
| hierarchy | Yes | ||
| sessionId | Yes | ||
| hideMembers | No | Default | HideBlankMembers | |
| displayFolder | No | display folder for the hierarchy |