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
- Login to SAC.
- Create a story.
- Insert a chart e.g. Line chart.
- Create a calculation: Dimension to Account.
- Select Result Aggregation Operation: AVERAGE excl. 0, NULL.
- Select this calculation as Left Y-Axis.
- Select for dimension the Date hierarchy.
- 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.
- 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
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using SAP for Me, Google or Bing:
- https://me.sap.com/servicessupport/search#?q=SAP%20Analytics%20Cloud%20OR%20SAC&tab=All
- https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
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.sap, https://hanacloudservices.cloud.sap, https://cloudanalytics.accounts.ondemand.com, https://hanacloudservices-us.accounts.ondemand.com, https://www.sap.com, https://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