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

KB37264: When a consolidation is added to a report, the report returns no data when executed through MicroStrategy, but returns data when the SQL it generates is run on the DB Query Tool.


Community Admin

• Strategy


This article notes a possible issue with consolidations not returning data

SYMPTOM:
A report with a consolidation returns no data when it is executed through Strategy. However, the SQL the report generates does return data when executed through the DB Query Tool. Furthermore, if the consolidation is removed from the report and then executed, data is returned correctly.
 
CAUSE:
One possible cause for this issue is the presence of an inconsistency between the definition of the consolidation in the metadata and the data in the warehouse database.  Specifically, if in the warehouse database the data type and precision of the column from where data is queried to build the consolidation does not match the data type and precision defined for the attribute form upon which the consolidation is based, the Analytical Engine will not be able to process the result set, which will cause the report to return no data.
An example of this would be a an attribute form which is created as a 4-byte string and then used to build a consolidation. If later, the column in the table is changed to a 10-byte string, and the data type of the attribute form is updated accordingly, there will be an inconsistency between the definition of the consolidation and the data returned by the attribute form for the consolidation to process. The attribute form will return data with the following format: "1234      ", with 6 spaces at the end. Meanwhile, the Analytical Engine, according to  the current definition of the consolidation, will expect data with the following format: "1234".
  
ACTION: 
 
Recreating the consolidation from scratch should resolve this issue. The MSIFileTable can also be used to determine if there is an inconsistency between the definition of the consolidation and the data returned by the Query Engine.


Comment

0 comments

Details

Knowledge Article

Published:

May 23, 2017

Last Updated:

May 23, 2017