Purpose:
Calculates the sum of the parameter / formula in the parameter.
Hint: Sum variables (see Working With Sum Variables) are an alternative way of creating sums and counters. Sum variables are principally applicable to whole tables. Aggregate functions principally table specific.
Parameter:
Number
Boolean (optional) TRUE: The values which were stored for the calculation are deleted after output. (default: TRUE). Please note that the stored calculation values are generally deleted for every (sub)table end. The second parameter only decides whether the values are already deleted within the table.
Return value:
Number
Example:
Sum (Order_Details.UnitPrice)