SAP Knowledge Base Article - Public

3499096 - Unexpected average calculation results when using Dimension To Account with operation "AVERAGE excl. 0, NULL" with different date hierarchy levels in the story in SAP Analytics Cloud (SAC)

Symptom

Unexpected average calculation results when using Dimension To Account with operation "AVERAGE excl. 0, NULL" with different date hierarchy levels in the story.

Environment

SAP Analytics Cloud (Enterprise)

Reproducing the Issue

    1. Login to SAC.
    2. Create a story.
    3. Insert a chart e.g. Line chart.
    4. Create a calculation: Dimension to Account.
    5. Select Result Aggregation Operation: AVERAGE excl. 0, NULL.
    6. Select this calculation as Left Y-Axis.
    7. Select for dimension the Date hierarchy.
    8. Check the chart values e.g.:
      • if the "Date" hierarchy level will be Level 2 (Year = 2023) => the average of the value showed in the Line chart will be e.g. 12.7
      • if the "Date" hierarchy" level will be Level 3 (Quarters = Q3, Q4) => the average of the value showed in the Line chart will be e.g. Q3 = 12.0; Q4 = 11.8.
    9. If we calculate the average of the Q3 = 12.0; Q4 = 11.8 via Excel or Windows calculator, it will be 11.9! So the chart calculation 12.7 for the Level 2 (Year = 2023) is not matching and will be confusing for the user.

    Cause

    • Correct product behavior.
    • The average is calculated at the individual hierarchy level separately based on the combination of records at that particular level (Year, month or quarter).
    • This can cause, that these combinations of the records will provide confusing result.
    • This product behavior follows a calculation logic which is used not just in SAC, but the same results will the user get e.g. in MS Excel, too.

    Resolution

    Create an AVERAGE aggregation with the "Dimension to Account" calculation and "Date" dimension.

    See Also

    Your feedback is important to help us improve our knowledge base.

    Keywords

    SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, sap analyst cloud, https://hcs.cloud.saphttps://hanacloudservices.cloud.saphttps://cloudanalytics.accounts.ondemand.comhttps://hanacloudservices-us.accounts.ondemand.comhttps://www.sap.comhttps://help.sap.com, predictive analytics (analysis), data analysis (analytics) tools, analytics tools, sap analytics cloud, data literacy, advanced analytics, data democratization, analytics software, real time analytics, self service analytics, advanced data analytics, analytics as a service, analytics cloud / cloud analytics, saas analytics, cloud bi, enterprise planning, cloud data analytics, cloud based analytics, analytics cloud platform, modern analytics, real time analysis, cloud analytics solution(s), what is sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software epm, business intelligence , KBA , LOD-ANA-DES-CAL , SAC Story Calculations , Problem

    Product

    SAP Analytics Cloud 1.0