Section reports have a limited support for expressions and aggregates. To add an aggregation, you should specify any of these for TextBox controls in the Detail section:
Function | Description |
---|---|
DistinctField | Gets or sets the name of the data field used in a distinct summary function. |
SummaryFunc | Determines the summary calculation function performed on the field value. |
SummaryGroup | Gets or sets the name of the group header section that is used to reset the summary value when calculating subtotals. |
SummaryRunning | Gets or sets a value that determines whether the data field summary value will be accumulated or reset for each level (detail, group or page). Possible options are None, Group, or All. |
SummaryType | Determines the type of field summary. Possible options are None, GrandTotal, Sub Total, PageCount, or PageTotal. |
The field expressions support simple operators like the following:
The ReportInfo control also supports aggregation. For example, you can display page numbers and page count at the group level: