Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 24 Oct 2013 at 10:38am
since the formula is not performed all the time, it cannot be summarized. CR uses several passes through the data, and summarization is before the report is rendered. The formula is evaluated at the time the report is rendered...so it is too late to be summarized.
You can use Running Totals or Variables to keep track of the sum as a work around.
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 25 Oct 2013 at 6:17am
What Sastry has provided is a basic shared variable.
Usually shared variables come in groups of 3 formulas: reset, increment, and display. Sastry has given the increment and the display.
reset is pretty basic:
Numbervar x := 0;
"" //will hide zero on the report
for reference,
reset is typically in a group header
increment is in details
and display is in group footer
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum