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

KB425862: Derived metrics with aggregate from base settings do not interact as expected with metric filters in Visual Insight Dashboards in MicroStrategy


Community Admin

• Strategy


This article notes how derived metrics with aggregate from base interact with metric filters set in Visual Insight Dashboards

SYMPTOM
Unexpected data is seen when applying a metric filter to a Visual Insight Dashboard. The filter does not limit the data used in aggregate from base derived metrics as expected leading to incorrect metric results. For example take a dashboard with the base data seen below and two derived metrics defined as counts of month.

ka04W000000OernQAC_0EM440000002Rzr.jpeg

If a filter is added based on profit such as profit >100000 then the data below will be seen.

ka04W000000OernQAC_0EM440000002S01.jpeg

This data is correct but if month is removed then the behavior changes and the metric without aggregate from base can no longer calculate while the metric with aggregate from base will calculate without applying the filter.

ka04W000000OernQAC_0EM440000002S0B.jpeg

As can be seen here months are being counted by the aggregate from base metric that violate the filter.
CAUSE
This is working as designed. Aggregate from base metrics calculate in the base dataset before any view level filters or calculations. This means the Visual Insight filter is applied after the aggregate from base metric has already calculated.
ACTION
Ensure that metric filters aren't used alongside aggregate from base derived metrics. Using report filters instead of Visual Insight filters or using filters based on attributes instead will work correctly.


Comment

0 comments

Details

Knowledge Article

Published:

June 22, 2017

Last Updated:

February 22, 2018