set_group_visibility
Control group visibility in Power BI paginated reports by setting a Hidden expression and optional toggle item for collapsible group sections.
Instructions
Set on a group's TablixMember. Accepts a Hidden expression and an optional ToggleItem (a textbox name that toggles the group expand/collapse).
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": {
"path": "<path>",
"tablix_name": "<tablix_name>",
"group_name": "<group_name>",
"visibility_expression": "<visibility_expression>"
},
"name": "set_group_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| group_name | Yes | ||
| tablix_name | Yes | ||
| toggle_textbox | No | ||
| visibility_expression | Yes |