Functions Reference

Table Of Contents
Chapter 2
Aggregate functions
Aggregate functions perform statistical analysis on numbers (and also dates or times for
some functions) in:
several fields in a record.
related fields whether displayed in a portal or not.
repeating fields.
For example, you can use the Sum function to add the values listed in a portal, as an
alternative to creating a report with grouped data and subtotals.
The parameter values can include a numeric constant (for example, 10) or any valid
expression. A constant parameter in a formula for a repeating field affects the result for
every repetition.
When repeating field parameters (field1; field2;...) include a non-repeating field, that value
is used in the result for only the first repetition unless you use the Extend function, page
149.
Values in repetitions that exceed the number of repetitions in the calculated field are
ignored. For example, a calculated field with three repetitions holds only three results,
even when one field referenced in the calculation has five repetitions.
Click a function name for details.
This function Returns
Average, page 10 The average of all valid, non-blank values in the specified field.
Count, page 11 The number of valid, non-blank values in the specified field.
List, page 12 The concatenation of all non-blank values in list form, separated by carriage returns.
Max, page 15 The highest valid value in a field or fields.
Min, page 16 The smallest valid non-blank value in a field or fields.
StDev, page 17 The standard deviation of a series of valid non-blank values in a field or fields.
StDevP, page 19 The standard deviation of a population represented by a series of valid non-blank
values in a field or fields.
Sum, page 20 The total of all valid, non-blank values in the specified fields.
Variance, page 22 The variance of a series of valid non-blank values in a field or fields.
VarianceP, page
23
The variance of a population in a series of valid non-blank values in a field or fields.