cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a grand total of a set of group sums?

0 Kudos

I have created a formula where I sum a set of times by group. If there is a certain condition, the total is zero. I now want to create a grand total of those sums.

I have tried several ways and can't figure out how to get the final sum. I can't choose that field in running totals and creating a variable and summing that isn't allowed. I have added the "whileprintingrecords" statement.

It won't let me sum a group sum it seems.

Any ideas?

Accepted Solutions (0)

Answers (2)

Answers (2)

DellSC
Active Contributor
0 Kudos

Instead of trying to sum the group sums, look at the data as a whole for the report.

1. Create a formula for the time value that looks something like this:

if <condition for zero> then 0 else {myTable.TimeField}

2. Sum this field. You can use a sum at the group level instead of running totals for your group totals as well as using this for the grand total.

-Dell

abhilash_kumar
Active Contributor
0 Kudos

Hi Sonia,

Please paste the formula you've created for the Group Sum.

-Abhilash