add_column_group
Add a column group wrapping the top-level column hierarchy in a Power BI paginated report tablix. Inserts a header column and sets the group expression in the header cell.
Instructions
Add a column group that wraps the current top-level column hierarchy. Inserts a matching column at body column 0 (default 1in width) and a header cell at column 0 of every existing row with the group expression in the topmost cell. Mirrors add_row_group on the column axis. parent_group nesting is reserved for a future commit and currently raises NotImplementedError.
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>",
"group_expression": "<group_expression>"
},
"name": "add_column_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| group_name | Yes | ||
| tablix_name | Yes | ||
| parent_group | No | ||
| group_expression | Yes | RDL expression, e.g. =Fields!Region.Value |