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

KB440562: New in MicroStrategy 10.7: New value for Null checking for Analytical Engine VLDB property: Scalar operations treat nulls as zero; aggregation calculations ignore nulls


Community Admin

• Strategy


This article introduces the new value for Null checking for Analytical Engine VLDB property: Scalar operations treat nulls as zero; aggregation calculations ignore nulls, and its typical scenarios.

Before Strategy 10.7, when performing In-Memory calculations for simple and aggregation functions, Strategy will ignore null values while still treating nulls as 0 for scalar operations. 
 
Since Strategy 10.7, New value for Null checking for Analytical Engine VLDB is introduced: “Scalar operations treat nulls as zero; aggregation calculations ignore nulls” as shown below:
 

ka04W000000OcSlQAK_0EM44000000A7iJ.png

 
The new calculation behavior is applied by default to new projects created after upgrading the metadata.
 
For users with environments and metadata updated to Strategy 10.7, the Analytical Engine will ignore null values for aggregation functions in new projects by default. Any existing projects will retain the null checking behavior that was applied before the upgrade. Default null check behavior is applied to function types as follows:
Aggregation: Ignore nulls

  • Scalar (including Date and String functions): Nulls treated as zero
  • Boolean: Nulls are treated as nulls
  • Rank: Nulls are treated as nulls
  • OLAP: OLAP aggregation functions ignore nulls and OLAP non-aggregation functions apply the scalar behavior from the VLDB setting. 

Use scenario:
 
When counting of averaging values, treating nulls as zeros gives unexpected results as shown below:

ka04W000000OcSlQAK_0EM44000000WLKF.png

 
With the new VLDB value, nulls are ignored in aggregation calculations as shown below:

ka04W000000OcSlQAK_0EM44000000WLKK.png

 
The old default Analytical Engine “Null checking for Analytical Engine” VLDB property for versions 10.6 and below is still available in version 10.7, but is option two - "Scalar and aggregation calculations treat nulls as zero (Deprecated)". Users can revert back to this option if they which to regress the metric calculation to the old results.
NOTE:

  • To keep the existing behavior for your project, please do the MD upgrade in BOTH Configuration and Project. Otherwise we can't keep the backward compatibility. In other words, the new setting could be effective if only Configuration is upgraded.
  • For scalar functions, there is no change to be observed before and after this implementation.

The internal reference number for this is KB440562 and KB440562


Comment

0 comments

Details

Knowledge Article

Published:

April 5, 2018

Last Updated:

December 17, 2018