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

KB439632: Derived element calculations cause metrics based on day data to display as null


Community Admin

• Strategy


This article notes an issue where derived element calculations cause some metrics to display null where the base data of the metric is of the date datatype in MicroStrategy 10.7 and up.

SYMPTOM
Empty metric values are seen when derived elements are included on a report/dashboard with a calculation. This happens for metrics which use non numeric datatypes such as date. This can be seen in the below example with the day attribute, a metric defined as max(day) and a derived element subtracting two elements.

ka04W00000148AeQAI_0EM44000000YRH8.jpeg

As can be seen in the example the metric has values for the individual elements but a null for the calculated derived element.
CAUSE
This is an intended change in Strategy 10.7 and up. It occurs as metrics are designed for numeric calculations and other datatypes are not being properly handled. In the below and above examples the date datatype is not consistent with the number datatype so the metric calculation cannot be done correctly. 
ACTION 
The functionality is working as designed as metrics for numeric calculations.
WORKAROUND
Convert the inputs of the metric to numeric before calculation so only numeric data is present in the metrics for analytical engine calculations such as derived elements.
The internal reference number for this is DE52300 and  KB439632


Comment

0 comments

Details

Knowledge Article

Published:

February 8, 2018

Last Updated:

October 8, 2019