C) Creating Calculated Key Figures
C) Creating Calculated Key Figures
9
• Data functions
• Mathematical functions
• Trigonometric functions
• Boolean Operators
Percentage Functions
The following table describes most of the percentage functions that are available as operators for
calculated key figures.
Percentage Share This is similar to %GT. Unlike the process for calculating the
%RT
of the Report percentage share of the overall result, dynamic filters are not
<Operand>
Result included in the calculation of the report result.
10
Function Formula Description
Percentage Share
%XT Calculate the percentage based on the next total level on the X
of Results along
<Operand> axis.
the Columns
Percentage Share
%YT<Opera Calculate the percentage based on the next total level on the Y
of Results along
nd> axis.
the Row
Data
The following table describes the most important data functions that are available for calculated key
figures.
SUMGT
Overall Result Delivers the overall result of the operand.
<Operand>
SUMRT
Report Result Delivers the report result of the operand.
<Operand>
11
Note
Key figures always keep their units when a query is executed. This means that the formula is
semantically incorrect if you add a currency unit - for example, EUR, to a unit of weight, for
example, kg. If you want to calculate values without using units, use the Value Without
Dimension (NODIM) data function.
Mathematics
Mathematical functions that are available for calculated key figures include the following:
• Maximum
• Minimum
• Absolute value
• Smallest integer value larger than operand
• Division (integers)
12
• You cannot Dereference the reused calculated key figure.
13