Filemaker Upgrade to FileMaker Pro 8.5 VLA Tier 4 + Maintenance TG809Z/A User Manual
Product codes
TG809Z/A
Chapter 2
|
Aggregate functions 27
In the following examples:
•
•
Field1 contains two repetitions with values of 1 and 2.
•
Field2 contains four repetitions with values of 5, 6, 7, and 8.
•
Field3 contains 6.
If the calculation result isn’t a repeating field:
Sum(Field2) returns
26
.
Sum(Field1;Field2;Field3) returns
12
.
If the calculation result is a repeating field:
Sum(Field2) returns a repeating field with
26
in the first repetition.
Sum(Field1;Field2;Field3) returns a repeating field with
12
,
8
,
7
,
8
.
Note
When a referenced field is a repeating field, the Sum function returns the sum of the
first repetition field, then the sum of the second repetition field, and so on.
Variance
Format
Variance(field{;field...})
Parameter
field - any
,
; or an
that returns a field, repeating field, or set of non-repeating fields.
Parameters in curly braces { } are optional.
Parameters in curly braces { } are optional.
Data type returned
number
Description
Returns the variance of a sample represented by a series of non-blank values. The
variance of a distribution is a measure of how spread out the distribution is. Use this
function on any of the following fields:
•
variance of a distribution is a measure of how spread out the distribution is. Use this
function on any of the following fields:
•
a repeating field (repeatingField).
•
a field in matching
specified by (table::field), whether or not
these records appear in a
•
several non-repeating fields in a record (field1;field2;field3...).
•
corresponding repetitions of repeating fields in a
(repeatingField1;repeatingField2;repeatingField3), if the result is
returned in a repeating field with at least the same number of repeats.