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

KB16439: 'CompUnit is empty. The join tree is empty. Please check if the metric has calculation level' error occurs when executing a report with an unresolved hierarchy object in the report in MicroStrategy Developer 10.x.


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This article explains why a report with a hierarchy on the template or in page-by but no filter will fail to execute.

SYMPTOM:
When users run a report that contains a hierarchy on the template or has a hierarchy in the page-by, the following error occurs:
 

ka02R000000kbVqQAI_0EM440000002FCY.jpeg

SQLEngine got an Exception from DFC: Engine Logic: ERROR: CompUnit is empty. The join tree is empty. Please check if the metric has calculation level.
The Report Editor shows the following information:
 

ka02R000000kbVqQAI_0EM440000002FCa.jpeg

This error may be caused by the current state of the schema. The scehma may need to be updated. Double click here to update schema.
Also, when the report is re-executed after being executed by double-clicking the report in Strategy Desktop 8.x, the following error occurs:
 

ka02R000000kbVqQAI_0EM440000002FCT.jpeg

Object variable or With block variable not set
CAUSE:
A hierarchy has been placed either on the report or within the page-by, but the report does not include a filter. The hierarchy on the report is unresolved. The engine queries the filters on the report to decide for which attribute, from the hierarchy, the report should show details.
 
ACTION:
Place an attribute filter on the report. The attribute must exist within the specific hierarchy placed on the template or page-by of the report.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 16, 2017

Last Updated:

June 16, 2017