add_subtotal_row
Append a subtotal row to a row group in a tablix, aggregating specified columns using custom expressions.
Instructions
Append a subtotal row to a row-axis group. aggregates is a list of {column, expression} entries; column matches against the Details row's textbox names (the same names add_tablix_column uses as column_name — NOT field names). expression is the aggregate (e.g. =Sum(Fields!X.Value)). Columns not listed get blank cells. position='footer' (default) appends; 'header' inserts at body row 1 (right after the group-header row). Group must have been added via add_row_group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| position | No | footer | |
| aggregates | Yes | ||
| group_name | Yes | ||
| tablix_name | Yes |