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

KB41000: How to display rows with Null metric value in a dynamic sourcing report


Community Admin

• Strategy


Dynamic sourcing report sometimes generates 'null value checking' statement in report SQL. This sometimes forces the query to omit some result rows which are expected to appear by users.
  
Follow the steps below to reproduce this in Tutorial project:

    1. Create an intelligent cube "test1" with attribute "year" and metric "Average Revenue", "cost", "cost growth", "discount", as shown below:

 

ka04W000000ObxiQAC_0EM440000002D8g.png

 

    1. Create a dynamic report with "year" and "cost". The design view and SQL view are shown below:

 

ka04W000000ObxiQAC_0EM440000002D8i.png

 

ka04W000000ObxiQAC_0EM440000002D8k.png

 
In grid view, go to DATA tab -> Report Data Options -> metric join type -> change the join type to Outer to display the rows with one of the metric to be Null value, as shown below:
 

ka04W000000ObxiQAC_0EM440000002D8y.png

 
After the change, the having clause is still there but the operator is changed from "AND" to "OR". This can meet some user's requirement, as shown below:
 

ka04W000000ObxiQAC_0EM440000002D8e.png

 
 
 
 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

May 31, 2017

Last Updated:

May 31, 2017