Pre-Aggregate Report Expressions
Create pre-aggregate expressions, also called "push-down expressions", in
Visualizer.
Pre-aggregate expressions are evaluated in the Insights database.
These expressions apply at the space level and are disabled by default.
Once pre-aggregated expressions are enabled, create custom attributes and measures in the Visualizer Expression Builder dialog. Custom attributes and measures are based on BQL Business Query Language expressions syntax.
Enable Pre-Aggregated Expressions
- Select Admin → Manage Space → Space Properties → Push Down Expressions to Database. Note:
- If enabled, the results of existing report expressions change because the expression is now aggregated in the database.
- The Push Down Expressions to Database feature supports all report expressions except those that include positional calculations and dimensional expressions. To use these, you must disable Push Down Expressions to Database.
Aggregation Rule Operators
For custom measures, aggregation rule operators perform the equivalent of specifying aggregation rules. The entire BQL Business Query Language expression is enclosed using an aggregate rule operator.


If an aggregate operator is not specified, SUM is used as the default aggregation.
Examples of Pre-Aggregate Report Expressions
Custom Attribute / Custom Group Example


Cross-Hierarchy Custom Group Example


Custom Attribute Based on a Measure Example


Custom Measure with Aggregate Rule Operator Example
This example shows both a custom measure and the Aggregate Rule operator comparing SUM and AVG.



Custom Measure Based on an Attribute Example

