Show TOC

AggregationLocate this document in the navigation structure

Selected key figures are aggregated in the analytic manager in the Business Warehouse. The following section provides you with an overview of the two basic types of aggregation behaviour.


The aggregation behavior determines how key figure values are aggregated in queries that use different characteristics and characteristic values. In order to calculate the values of key figures, the data from the InfoProvider has to be aggregated to the detail level of the query. Formulas might also have to be calculated. A number of characteristics need to be aggregated here.

The basic form of aggregation is Standard Aggregation. When performing standard aggregation, the system can aggregate key figures according to the following rules: Summation (SUM), Minimum (MIN), and Maximum (MAX). The standard aggregation is independent from a specific characteristic. The system performs standard aggregation over all charactertistics that are not in the breakdown, irrespective of their sequence. This is the most well-known aggregation behavior.


In DataStore objects for direct update, it is also possible in planning mode to use key figures with standard aggregation NO2, no aggregation (X if more than one value appears).

In addition to standard aggregation, there is also Exception Aggregation. The aggregation rules for exception aggregation depend on a characteristic. You specify how a restricted or calculated key figure or a formula is aggregated in the analytic manager with regard to one or more reference characteristics. (Calculated key figures and formulas mostly behave accordingly; Only in exceptions can there be differences in the query results). A characteristic is needed for exception aggregation in order to define the granularity with which the aggregation rule is applied. The system aggregates the key figures to this detail level according to the rules of standard aggregation. It is only possible to use multiple reference characteristics for formula exception aggregation (multidimensional exception aggregation).

Exception aggregation is also always performed in addition to standard aggregation. It is not an alternative to standard aggregation.


Let us take aggregation rule (AVG) as an example: The system calculates the average from the sum of all values divided by the number of entries. To define the number of entries, a granularity of data must be defined to which the system is to aggregate the multi-dimensional data according to the rules of standard aggregation. The result of the standard aggregation is the starting point of the exception aggregation, as the basis for the calculation according to the Average of All Values rule.


From a business point of view for example, exception aggregation arises if warehouse stock cannot be totalled up at the time, or if counters count the number of characteristics for a specific characteristic.


You set the various types of aggregation behavior of standard and exception aggregation for basis key figures in InfoObject maintenance (see Tab: Aggregation), for formulas and calculated key figures in BEx Query Designer (see Selection/Formula/Cell Properties).


You can also overwrite the settings for aggregation with the settings in the query. In the documentation for the general analysis functions in BEx, see Local Calculations, Calculate Results as..., and Calculate Single Values as... (local aggregation).