SYMPTOM
When a custom subtotal is defined in terms of a metric that is not present in the grid, the subtotal field will appear blank in Strategy Developer 9.x-10.x as shown in the image below

STEPS TO REPRODUCE
Follow the next steps in Strategy Tutorial to reproduce this issue





CAUSE
The Analytical Engine is in charge of calculating the totals in the report after the data is retrieved from the warehouse. When M4 is removed from the template, the Analytical Engine does not have the required information to calculate the subtotal and therefore they are not displayed on the report. The subtotals are calculated at the view level. The auxiliary metrics need to be in the actual template of the report; it is not enough to have them in the Report Objects Window. This behavior is by design.
ACTION
Whenever using subtotals based on auxiliary metrics, these auxiliary metrics need to be on the report .
WORKAROUND
There are two possible workarounds for this issue as described below:


