SAP Knowledge Base Article - Public

3158310 - "Date hierarchy level is unknown: undefined" when adding Filter by Range for a Time Dimension in SAP Analytics Cloud (SAC)

Symptom

  • Not possible to add Filter by Range on the Time Dimension in SAP Analytics Cloud (SAC).
  • When trying to create a Widget Filter selecting Filter by Range on the Time Dimension, the settings window will keep loading.
  • Live connection to SAP Datasphere (DS).
  • Error in browser Developer tools:

"Date hierarchy level is unknown: undefined

Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'entityId')"

Environment

  • SAP Analytics Cloud (Enterprise)
  • SAP Datasphere (DS)

Reproducing the Issue

  1. Login to SAC and DS.
  2. Create a Story based on Data Model with Live connection to DS.
  3. Insert a Chart and add a Measure and Time Dimension.
  4. Try to create a Widget Filter on the Time Dimension: Dimensions - [Time Dimension name] - Filter - Filter by Range => the function will keep loading.

Cause

Time dimension hierarchy that is modelled is not named correctly on the Day level in DS.

Resolution

  • Configure the DS Time Dimension with the required prefix in the technical name, so that it is compatible with SAC.
  • Follow help guide Acquiring, Preparing, and Modeling Data with SAP Datasphere, topic Create a Dimension:

"In addition, attributes in an analytical dataset that are mapped to a time dimension via an association must have technical names that respect the following naming conventions:

  • *_DATE for Date/Day level"

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 , KBA , LOD-ANA-DES-COR , SAC Core story functionality - widgets, geo, design, etc , DS-MD , Modeling (Data Builder) , Problem

Product

SAP Analytics Cloud 1.0