Precalc

Purpose:

Calculates the value of the aggregate function for the table. Only available in the report container.

Parameter:

All                Function (typically a aggregate function)

All                Optional grouping function for the Precalc() function to output a group sum in the group header for example. Normally the same value as 'Group by'.

All                opt.: Condition for the aggregation (the value is only aggregated if the condition is matched).

Return value:

All

Example:

Precalc(Sum(Item.UnitPrice)) Result: Sum of the following item prices.