Go to primary content

Create/Edit Analytic View: Measure Aggregation Rules

Measure aggregation rules identify the aggregation operator for each measure of the analytic view.

Use this page to specify an aggregation rule for an individual base measure. If no measure aggregation rule is specified, then the aggregation rules for the analytic view are applied to each base measure.

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.

Measure: Shows the selected measure. To select a different measure, expand the drop-down list and select a measure.

Use aggregation rules from the analytic view: Select this option to use the aggregation rule for the analytic view.

Aggregation Rules Specification

The Expression Editor in this section displays the expression syntax of the aggregation rule. If the Use aggregation rules from the analytic view option is not selected, then you can enter or select an expression in the editor. A template for the aggregation rule appears below the editor.

To change the aggregation operator in the expression syntax:

  1. Click the underlined operator in the template.

  2. Select a different operator from the list that appears.

The expression editor provides the following tools:

Icon Description
Undo Undo: reverses the last change.
Redo Redo: reapplies the last change after it is reversed.
Cut Cut: copies the selected text to the clipboard and deletes it from the text area.
Copy Copy: copies the selected text to the clipboard.
Paste Paste: copies the contents of the clipboard to the text area.
Clear Clear: erases the entire contents of the text area .
Format Format: formats the aggregation rules for the attribute dimensions into individual lines.
Validate Selection Validate Selection: checks the syntax of the selected text.

Parse Tree: Displays information about the syntax of the aggregation operator.

Syntax: Dynamically displays Valid or Invalid for the syntax shown in the text area. If the syntax is invalid, click View Exception (View Exception) to display information about the problem.