Showing group totals

Showing group totals

Forum member · Mar 7, 2007
Is there a way to show the sum of a particular field in a group? I have a report that is using 4 sub reports for grouping and I want to show the sum of a field for each group. I have a RecordBox in the Footer of each sub report but, using the Sum(MyFiled) expression is giving me the sum of all the records, not just what is being grouped.

Re: Showing group totals

Support · Mar 7, 2007
Hello, In order to get the sum of the records for each sub report you have to specify the scope which must be equal to the ID of the report or any sub report within the report. For e.g. Sum(MyField,MySubReport1). If you want to get the sum of all the records returned by particular query, then you have first define the scope and then the ID of the query within the report or sub report. Thanks, ceTe Software Support Team