Symptom
Hierarchy with Directory in SAP Datasphere for a compound object returns following error message when deploying the Dimension View:
- Invalid hierarchy associations in dimension(s). All leaf elements must be used as part of the association between dimension and hierarchy
Environment
SAP Datasphere
Reproducing the Issue
- Create Hierarchy with Directory with check box "Is Leaf"
- Associate the Hierarchy with Directory to the Dimension View
- Deploy the View
Cause
The cause of the issue is due to incorrect hierarchy associations where all leaf elements are not used as part of the association between dimension and hierarchy.
Resolution
- Ensure all columns are mapped to the corresponding columns from the dimension trying to use the hierarchy.
- In the hierarchy settings, select the columns so that they can be mapped with the columns in the dimension view.
- Deploy the view again and verify the associations are correctly defined.
See Also
Refer to:
Keywords
hierarchy, directory, hierarchy with directory, compound object, leaf elements, association, dimension, hierarchy settings, compounded node , KBA , DS-MD-VIW , Views , Problem
Product
SAP Datasphere all versions
SAP Knowledge Base Article - Public