SAP Knowledge Base Article - Public

3254214 - An unexpected calculation error occurred when you run an advanced formula step using a Date related function in SAP Analytics Cloud for Planning (SAC)

Symptom

The following error occurs in SAP Analytics Cloud for Planning (SAC):

  • when you run a specific multi action: The multi action "xxx" has failed because of the following issues in one of its steps: - The data action step "yyy" has failed. An unexpected technical error occurred when processing the data action "yyy" on version "zzz". The error has been logged.
  • when you run a specific data action: An unexpected calculation error occurred in step x of data action "yyy" running on version "zzz".

The same data action worked fine before the version upgrade.

The advance formula step contains some Date related functions, for example: DATEDIFF, TODAY.

Environment

  • SAP Analytics Cloud 2022.8.14

Cause

Something is wrong with the Date dimension of the model of this data action.

Resolution

  1. Open the model.
  2. OpenModel Preferences.
  3. Go to Date Settings.
  4. If the current value of Fiscal Period Name Label is Period Number, change it to Month.
    If the current value of Fiscal Period Name Label is Month, change it to Period Number.
  5. Save the model.
  6. Change Fiscal Period Name Label back to the original value.
  7. Save the model.

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, 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.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, da, ma, time, advanced formulas , KBA , LOD-ANA-ML-MDM , Master Data Management , LOD-ANA-PL-AF , Advanced Formulas , Problem

Product

SAP Analytics Cloud 1.0