Sum

Purpose:

Calculates the sum of the parameter / formula in the parameter.

Hint: Sum variables (see 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)