Symptom
While trying to build an Analytical Model, which includes GL hierarchy data, "Data Preview" fails after selecting the Hierarchy value with the error:
"The query executed with errors. The hierarchy doesn't exist".
Following external blogs were followed while building the Analytic Model:
Environment
SAP Datasphere
Cause
The Hierarchy is inconsistent. "Data Validation" for this Hierarchy with Directory entity fails due to invalid Keys and Hierarchies settings.
Hierarchy has been violated below rules:
- For Keys: Unique Key Values
- For Hierarchies: No Multiple Parents
Resolution
Identify and delete inconsistent duplicate records as well as records referencing nodes with multiple parents.
Keywords
analytic model, hierarchy, duplicates, keys, rules, multiple parents, data validation , KBA , DS-MD-AM , Analytic Model , Problem