An aggregation rule identifies the aggregation operator to use for all attribute dimensions by which the analytic view is dimensioned..
Force create object: Select this option to force the creation of the analytic view even if it does not successfully compile. If this option is not selected, the analytic view must compile successfully, otherwise an error occurs.
The Expression Editor shows the aggregation operator currently specified.
Aggregation Rules Specification
The Expression Editor in this section displays the expression syntax of the aggregation rule. A template for the aggregation rule appears below the editor.
To change the aggregation operator in the expression syntax:
Click the underlined operator in the template.
Select a different operator from the list that appears.
For example, the expression syntax for the default aggregation rule is the following:
SUM
The template for that expression is the following:
Sum over ALL dimensions
Aggregation Operators
The following table lists the available aggregation operators.
| Aggregation Operator | Description |
|---|---|
|
Adds data values. |
|
Adds data values, then divides the sum by the number of data. |
|
Returns the number of rows returned by the query. |
|
Returns maximum value. |
|
Returns minimum value. |
|
Returns the sample standard deviation of measure values; returns zero when the result of the query has only 1 row of input data. |
|
Computes the population standard deviation and returns the square root of the population variance. |
|
Computes the cumulative sample standard deviation and returns the square root of the sample variance; returns null when the result of the query has only 1 row of input data. |
|
Returns the variance of the measure values. |
|
Returns the population variance of a set of numbers after discarding the nulls in the set. |
|
Returns the sample variance of a set of numbers after discarding the nulls in the set. |
Parent topic: Analytic Views Dialog Boxes and Wizards