EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB20685: “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 is received when executing a report in MicroStrategy 9.4.1 and 10.x.


Stefan Zepeda

Salesforce Solutions Architect • Strategy


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

 
STEPS TO REPRODUCE:

  1. Create a report with the 'Year' hierarchy and 'Revenue' metric on the template and filter on attribute 'Category'.
  2. On executing the report the user receives the above error.

 
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.
 
 


Comment

0 comments

Details

Knowledge Article

Published:

May 25, 2017

Last Updated:

May 25, 2017