convert_to_matrix
Converts a row-grouped and column-grouped tablix into a matrix by removing the residual Details row group. Use after adding row and column groups to render at row group granularity instead of detail.
Instructions
Convert a row-grouped + column-grouped tablix into a matrix by dropping the residual Details row group and its body row. Pre-conditions (all checked): the named row_group and column_group must already exist (call add_row_group + add_column_group first); a must still be present in the row hierarchy. Refuses on second call (already a matrix). Use this after the standard insert_tablix_from_template + add_row_group + add_column_group flow to make the leaf the row group instead of Details — without this, cells render at detail granularity. Pair with set_tablix_corner (v0.4 commit 18) to author the top-left label.
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>",
"row_group": "<row_group>",
"column_group": "<column_group>"
},
"name": "convert_to_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| row_group | Yes | ||
| tablix_name | Yes | ||
| column_group | Yes |