Symptom
- No data returns when adding a filter on a hierarchical date dimension in a Story in SAP Analytics Cloud.
- Widgets on the Story are based on an SAP Datasphere Model, and when filtering on the same hierarchical date dimension in SAP Datasphere, it returns data.
Environment
- SAP Analytics Cloud
- SAP Datasphere
Reproducing the Issue
- Login to SAP Analytics Cloud.
- Create a Story, and add a widget based on an SAP Datasphere Model.
- Notice the widget returns data.
- Add a Filter on the hierarchical date Dimension, set the hierarchy to: "Year Month Day" and select a value.
- Observe that the widget displays no data, despite there is data for the selected value.
Cause
- In SAP Datasphere, the data type of the fact table for the date was defined as string, and in the model it was defined as a date.
- Due to the inconsistent data type, when filtering on the "date" dimension, it returned no data.
Resolution
In SAP Datasphere, update the Fact table data type to match the model data type for the date dimension.
Keywords
SAC, datasphere, filter, no data , KBA , LOD-ANA-DES-OFLTR , SAP Analytics Cloud Optimized view mode filtering , Problem
Product
SAP Analytics Cloud 1.0
SAP Knowledge Base Article - Public