One should call GetTotal inside a group to get total value result of a group. Calling GetRunningTotal inside a group gets accumulated result in the group.

Example of a grouped numbers list, every group’s sum is counted down first, at the end the total result of all the groups.

dataBand1.DataSource = Numbers;

Aggregate function: AggregateFunction = Sum; Expression = dataBand1 ["Value"]; Name = SUM;

groupBand4.GroupExpression = dataBand1["Type"]; textBoxDetail.Value = dataBand1["Value"]; textBoxFooter.Value = GetTotal("SUM");

 Report Template   Report  
     

Add Feedback