SAP Knowledge Base Article - Public

3409539 - Frontend calculation formula changes after modifing the table in SAP Analytics Cloud (SAC)

Symptom

In the SAP Analytics Cloud (SAC) table, you add some frontend calculations using the formulas containing a range, for example, = SUM(B9:B11).

When changing the story filter, the formula values change according to the filter as it should. 

When changing the story filter back, it shows an ref_error for the cell.

When having a closer look, the sum formula changes one column further, for example, =SUM(C9:C11) and the value is calculated according to the new formula.

Environment

  • SAP Analytics Cloud (SAC) Enterprise

Reproducing the Issue

  1. open the story
  2. notice that values in the table are correct. Formula is =SUM(B9:B11)
  3. change filter to a different member
  4. notice there is "Ref_err" appears
  5. change filter back to the original value
  6. the formula changes to =SUM(C9:C11)

Cause

It is a limitation. 

Changing a table in a way that it grows or shrinks is not supported for custom cell formulas referencing the table with a range. Though in rare cases it may work. 

Resolution

We consider it a feature enhancement.  Please follow KBA 2424376 to create an enhancement request. 

Meanwhile, please check if the following workaround can be applied for your case:

  • use B9+B10+B11 instead of range
  • If you go for a bigger range B2:B13 (outside the table) it will not get moved horizontally. However it still moves vertically. 
    If you go for a range starting above the table, it would stick, but the formula doesn't work as it includes the member string.

See Also

  • SAP Note 3030471 - SAC table calculation shows 'REF_ERR'

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, Sac, Acquisition, Model, Connect, Story, Tenant, Import, Failed, Using, Working, 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 , KBA , LOD-ANA-TAB , Table , Problem

Product

SAP Analytics Cloud all versions