Calculating Proper SUMCT For Calculated Key Figures
Calculating Proper SUMCT For Calculated Key Figures
Applies to:
This applies to SAP BI 7.0. For more information, visit the Business Intelligence homepage
Summary
The result for Calculated Key Figures is also calculated based on the formula used. Hence usage of SUMCT
function yields improper values (not the summation of individual values). This document illustrates steps to
get correct SUMCT for such Calculated Key Figures (CKF)
Author:
Shashank Dighe
Author Bio
Shashank Dighe is a SAP BI Consultant having 2 years of experience on SAP BI. He has
worked on many end to end to projects in SAP BI for multiple clients. You can reach him at
[email protected] or [email protected]
Table of Contents
Summary.............................................................................................................................................................3
Step By Step Solution with Example ..................................................................................................................3
Query Creation:...............................................................................................................................................3
Formulae Used for Calculated KF:..................................................................................................................3
Output of the Query:........................................................................................................................................4
Create new CKF with Exception Aggregation:................................................................................................4
Output of the Query (With Exception Aggregation CKF): ...............................................................................4
Related Content ..............................................................................................................................................5
Disclaimer and Liability Notice............................................................................................................................6
Summary
Many a times there is a need to use the SUM of a Key Figure in the calculation of other Key Figures at the
Reporting Level. This SUM for a Key Figure can be achieved with the standard formula in Query Designer
called SUMCT. The SUMCT works perfectly fine for the calculation of the SUM for the basic Key Figures
but for a Calculated Key Figure sometimes it does not yield the required result.
This happens because the result for the Calculated Key Figure is also calculated based on the formula used
and hence when SUMCT is used on such a Key Figure the result is not the sum of each value of Calculated
Key Figure. This can be overcome with the help of Exception Aggregation Concept.
Note: The Property Calculate Result as Total is only for display purpose and SUMCT function fetches the actual
calculated value and not the display value.
Related Content
Exception Aggregation
SUMCT Function for CKF
SUMCT Problem
For more information, visit the Business Intelligence homepage