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

KB14561: Null values are not displayed in a report with attributes in the page-by in MicroStrategy Developer 9.x


Stefan Zepeda

Salesforce Solutions Architect • Strategy


Null values are not displayed in a report with attributes in the page-by in MicroStrategy Developer 9.x

SYMPTOM:
Consider the following report that has Item, Revenue, and Month in the template and is filtered on Year = 2003 and Subcategory = 'Arts & Architecture'. The requirement of this report is to show all months when Item is in the page-by. When executed without any items in the page-by, the grid displays as follows:
 

ka02R000000kcKRQAY_0EM440000002FPg.jpeg

 
Notice that there are many null values in this display of the report. However, if Item is moved to the page-by and 'The Painted Word' is selected, the dates with null values are not shown:
 

ka02R000000kcKRQAY_0EM440000002FPo.jpeg

 
NOTE: Only seven of the twelve months are shown in the report.
 
CAUSE:
This issue occurs because the null values created in the grid display with no attributes in the page-by are cross-tabulation nulls and are a result of the analytical engine formatting the grid. When the page-by is selected, the grid is changed and reformatted, meaning the null values that appeared before do not appear anymore. It becomes the same grid as if a new report was executed that was filtered on the selected page-by attribute element.
 
ACTION:
To resolve this issue and satisfy the requirements of the report, make the following VLDB Settings changes:
 

  • In Joins -> Join Type, ensure that the Outer Joins are of type 92, as shown below:
ka02R000000kcKRQAY_0EM440000002FPm.jpeg
  • In Joins -> 'Preserve all Lookup table elements', ensure that the final option to 'Preserve all lookup table elements joined to final pass result table based on Template attributes with filter' Is selected, as shown below:
ka02R000000kcKRQAY_0EM440000002FPk.jpeg

This will create an outer join to the lookup table for the attributes on the template and they will display because the cross-tabulation nulls become warehouse nulls as a result of the changed SQL. The new report display satisfies all requirements of the report, as shown below:
 

ka02R000000kcKRQAY_0EM440000002FPq.jpeg

 
For more information regarding warehouse null values and cross-tabulation null values, consult the following Strategy Knowledge Base technical notes:
 
KB5391 (KB5800-7X0-0081) - What is the difference between a Database Null and a Cross-Tab Null in Strategy Product Suite 9.x?
KB14560 (KB5700-8X-2152) - Cross-tabulation nulls vs. warehouse nulls in Strategy Desktop 9.x


Comment

0 comments

Details

Knowledge Article

Published:

May 11, 2017

Last Updated:

May 11, 2017