add_subtotal_column
Adds a subtotal column to a column group in a tablix. Specify rows to aggregate with expressions, optional position (before/after), and width.
Instructions
Column-axis mirror of add_subtotal_row. Adds a static TablixMember inside the column-group's , a new in TablixBody, and a cell at the new column index in every body row. aggregates is a list of {row, expression} entries where row is the 0-based body row index; rows not listed get blank cells. position='after' (default — canonical Grand Total slot, appends to the right of the column group) or 'before' (prepends to the group's left edge). width defaults to '1in'. Group must have been added via add_column_group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| width | No | 1in | |
| position | No | after | |
| aggregates | Yes | ||
| group_name | Yes | ||
| tablix_name | Yes |