SAP Knowledge Base Article - Public

3222391 - TODATE function displays an error when passed a Date-Time dimension in SAP Analytics Cloud (SAC)


The following error occurs in SAP Analytics Cloud (SAC) when passing a Date-Time dimension to the TODATE funtion:

  • Formula could not be computed: Function "ToDate" exects parameter 1 to be of a type Datetime. Try rewriting the formula.


  • SAP Analytics Cloud (Enterprise) 2021.8.14

Reproducing the Issue

  1. Create a new model from a data source that has a date-time dimension 
  2. In the model create a new formula that is: TODATE ([name of the date-time dimension])


This issue is currently under investigation by development.


This issue is currently under investigation by development.

See Also

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


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,,,,,,, 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-DES , Story Design & Visualizations , Problem


SAP Analytics Cloud 1.0 ; SAP SuccessFactors HXM Suite Core 2205