SYMPTOM:
When executing a report that contains a hierarchy in the template, the following error is returned:
Report: R1 Job: 1914 Status: Execution failed Error: SQLEngine got an Exception from DFC: A hierarchy on the template must be related to one or more attributes in the report filter, or it cannot be replaced by one (or multiple) attributes. Error in Process method of Component: SQLEngineServer, Project Strategy Tutorial, Job 1914, Error Code= -2147212800. Starting Time: 17:29:04
CAUSE:
In the report, users have defined at least one hierarchy that cannot be resolved to an attribute.
The SQL Engine cannot decide which attribute to choose from the hierarchy, because there is no filter criteria. This refers to an attribute used in the defined hierarchy.
ACTION:
Apply a filter to the report, which contains an attribute defined in the hierarchy, or replace the hierarchy by an attribute.