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

KB484105: The chapter filter in a dossier is not applied for only conditional metrics


Zuzanna Grzyniewska

Manager, Business Intelligence • MicroStrategy


This article explains why the chapter filter in a dossier is not applied for some conditional metrics on a grid, but works correctly for other metrics. This article also provides a solution to prevent this behavior.

Starting with the release of Strategy ONE (March 2024), dossiers are also known as dashboards.

Description


In a dossier, you may find that the chapter filter is not applied for some conditional metrics on a grid. However, the chapter filter is applied and works as expected for other metrics. 

Steps to reproduce

  • In a dossier, create a dataset with Country, Region, and Revenue.
  • Create a derived conditional metric Revenue with the filter Country = USA.
  • Create a chapter filter for the attribute Region.
  • In the Filter panel, select a region. Notice that it does not influence the conditional metric.
ka0PW0000001JbjYAE_0EM2R000000o7NN.jpeg
ka0PW0000001JbjYAE_0EM2R000000o7Nc.jpeg

The chapter filter contains a qualification based on an attribute related to the attribute in the conditional metric filter qualification (Region and Country). Related attributes are any attributes having a parent-child relationship, although not necessarily a direct one.

Why is this happening?

For conditional metrics, there is a feature called Remove related report filter elements which is enabled by default. In Strategy Developer, this setting can be seen in the conditional metric definition.

ka0PW0000001JbjYAE_0EM2R000000o7Nh.jpeg

However, the setting is not apparent in the Dossier interface, and needs to be toggled directly on the metric definition. This is especially important for derived conditional metrics that cannot be viewed in Developer.

Solution


You should disable the default setting by changing the - sign at the end of the metric definition to a +. For example:
Sum(Revenue){~+}< ;@2;->    to   "Remove related report filter elements" enabled
Sum(Revenue){~+}< ;@2;+>   to   "Remove related report filter elements" disabled

ka0PW0000001JbjYAE_0EM2R000000o7Nm.jpeg
ka0PW0000001JbjYAE_0EM2R000000o7Nr.jpeg

From v2021, Strategy provides a new option in the Dossier interface (Metric Editor): Ignore attribute filters from the same hierarchy. Users can either use the option or modify the metric expression directly to enable/disable the feature.

ka0PW0000001JbjYAE_0EM4W0000038cAq.jpeg

Comment

0 comments

Details

Knowledge Article

Published:

March 5, 2020

Last Updated:

March 21, 2024