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

KB442372: In MicroStrategy 11.1 and higher, the nullcheck setting will convert date/timestamp null to 12/31/1899


Chris Robinson

Principal Product Specialist • Strategy


This technical article explains an issue where the 12/31/1899 is returned for an empty date/timestamp column when a zero value was expected.

Symptom:
This issue is specific to the date/timestamp column when the value from the Warehouse is empty or Null. When the Data Engine Version is set to Version '10' and VLDB Property is on, the empty date/time stamp column will be treated as 0. However, if the Data Engine Version VLDB Property is set to '11' and AE Null Checking VLDB Property is on, the empty date/time stamp column will be treated as 12/31/1899, which is the standard used by Excel.
Steps to Reproduce:
1. Create a Table in your Warehouse with two Date columns.
2. Insert Data into only one of those columns
3. Import the table into Strategy with each column as its own attribute.
4. Create two Derived Metrics from each attribute using the Max function while also changing the formatting to Date named M01 and M02
5. Create a third derived metric that with M01-M02 named M03.
With Data Engine Version set to 10, the value of M03 will be null.

ka044000000kPh9AAE_0EM44000000RSjU.png

With Data Engine Version set to 11, the M03 will return an actual value because the column with no Warehouse value will be treated as 0 for calculation.

ka044000000kPh9AAE_0EM44000000RSjZ.png

Cause:
This is an enhancement implemented starting in Strategy 2019.
ACTION:
This issue has been fixed in Strategy 2019 or newer version. To pick up the fix, enable project level setting "Data Engine Version" to 11. This property can only be enabled through Workstation. For more details on enabling the setting, refer to Change Data Engine Version.
KB442372


Comment

0 comments

Details

Knowledge Article

Published:

December 11, 2018

Last Updated:

December 21, 2018