Symptom
- After changing the filter selection for specific dimension, the preview output becomes blank or
- Preview becomes blank, after readding the dimension to drill down
- Console shows the following error: library-preload.js:429 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getIterator').
Environment
- Analytic Model
Cause
- The issue occurs due to an incorrect data type conversion in the model. Some columns have inconsistencies between the design-time data type defined in the editor. For example, if a column is defined as Date, but SAP HANA Cloud interprets it as String, this mismatch can cause runtime errors or incorrect data to be returned.
Resolution
- Execute Data Validation for the base view. Refer to Help Portal - Run a Data Validation
- Identify the base view where the incorrect conversion occurs
- Convert fields properly using functions such as `TO_DATE`
- Apply the correction to the base view
- Validate the changes
- Deploy the view and Analytic Model
See Also
Help Portal - Column Data Types
Help Portal - Data Types
Keywords
analytic model, contract date filter, data disappears, incorrect date conversion, runtime error, TO_DATE function, preview output blank, data type mismatch , KBA , DS-MD-AM , Analytic Model , DS-MD-VIW , Views , Problem
Product
SAP Datasphere all versions
SAP Knowledge Base Article - Public