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

KB9911: How to make subtotals not dimensionality aware in MicroStrategy Engine 9.x and newer


Stefan Zepeda

Salesforce Solutions Architect • Strategy


When Metrics are built with dimensionality, by default, subtotals in Strategy Engine 9.x are aware of the dimensionality and are calculated accordingly. This document explains how to change this behavior, making the subtotal unaware of the metric dimensionality and calculating it at the Report data level.
 
Consider the following example report, which was built using Strategy Tutorial:
 

ka02R000000kcY2QAI_0EM440000002FyQ.gif

 
"Revenue with Dimensionality" is the sum of Revenue at the level of Category (excluding report level), as shown below:
 

ka02R000000kcY2QAI_0EM440000002Fy9.gif

 
By default, if a Subtotal is placed on the Report, the Subtotal will be aware of the dimensionality of the metric, as shown below:
 

ka02R000000kcY2QAI_0EM440000002Fy5.gif

 
Note that the source data for subtotaling "Revenue with Dimensionality" exist only at Category level and do not show distinct values per customer. For example, the "Movies" category shows 189 for each customer, because Customer is omitted from the dimensionality. Since the correct metric behavior is to repeat the same Category-level values over all customers, the correct subtotaling behavior is to repeat the same subtotal value over all customers as well.
 
If users instead prefer to see the Subtotals broken by Customer, for the Metric without dimensionality, the Subtotal must be made unaware of the dimensionality of the Metric.
 
In order to make subtotals not dimensionally aware in Strategy 9.x, perform the following steps:
 

  • At the Report level, expand the Data Menu, and click on VLDB properties.
  • Expand the Analytical Engine Folder and click on "Subtotal Dimensionality Aware".
  • Uncheck the box "Use default inherited value" and check the radio button option "False" as shown below:
ka02R000000kcY2QAI_0EM440000002Fy7.gif
  • Save and Close the window.

After the Strategy Analytical Engine processes the request, the Subtotals will appear as follows:
 

ka02R000000kcY2QAI_0EM440000002Fy6.gif

 
Note, however, that the grand total value for "Revenue with Dimensionality" is now inflated. When dimensionality-aware subtotals are disabled, higher-level subtotals are likely to be incorrect because the Analytical Engine has been instructed to total the displayed values blindly, without regard for repeated values that are the result of the metric's dimensionality. This is why dimensionality-aware subtotals are enabled by default.
 


Comment

0 comments

Details

Knowledge Article

Published:

April 13, 2017

Last Updated:

April 13, 2017