Aggregation and Calculation Time for Data

Use

The collection (aggregation) of data and the calculation of data occurs at different times.

Features

With calculated key figures (reusable objects that you can use in multiple queries) and formulas, you can define exception aggregations and determine when the calculation is to be performed. When you execute a query with a calculated key figure and a formula structural component, then the OLAP processor collects the data according to the query definition.

  • Key figures are only collected and aggregated for the relevant characteristics, while all others are ignored.
  • The calculation of the key figure occurs according to the defined aggregation form before or after the aggregation by means of the OLAP processor.
  • The calculation of the local formula occurs after the aggregation but before a configured exception aggregation.

For performance reasons, the evaluation of the calculated key figures occurs partially before and partially after the aggregation of individual data records. In doing so, sums and differences are calculated before the aggregation and all other operators are calculated after the aggregation.

You can make settings in the properties for the calculated key figure so that, for example, a multiplication occurs as an exception before the aggregation. This leads to considerable deterioration of performance, because all affected fact records are read in the OLAP processor and can be aggregated after the calculation.

Activities

You can make the settings for the aggregation of, and calculation time for, calculated key figures and formulas in the properties dialog for the formula and calculated key figure. You can define whether an exception aggregation is to take place or whether the calculation is to be performed after the aggregation. More information:Selection/Formula/Cell Properties.

You can set the exception aggregation for a simple key figure in the InfoObject maintenance for the key figure.

More Information:

Tab Page: Aggregation

Interpreting Query Results