SYMPTOM:
Subtotal for ending lookup metric works only based on the existing data regardless of difference between the ending lookup and ending fact in grouping setting in Strategy Analytical Engine
STEPS TO REPRODUCE:
Follow the steps below using Strategy Tutorial project to reproduce the issue:










CAUSE:
This is a known limitation in the Strategy Analytical Engine. The subtotals for "End on hand fact" are correct as for every subcategory, engine will evaluate the fact for the last period found.

Theoretically, for "End on hand Lookup", engine should only calculate the values in Dec 2008 instead use the last non-null data.
However, in Strategy, subtotals are calculated by Analytical Engine after the result is returned from warehouse. The key issue is that, Analytical Engine perform aggregation only based on the EXISTING data. In other words, when Analytical Engine is involved, there is actually no difference between ending lookup and ending fact (consider it as ending MSIfile table). Analytical Engine is not able to query database to get the difference.
ACTION:
Convert the null values for "End on hand Lookup" to zero. Change the definition of the "End on hand Lookup" metric to be "Sum(NullToZero(Sum() {~+} )) {~+, >Month+}", as shown below:

After this modification, run the report again, the data is returned correctly, as shown below:

Metadata Modification:
WARNING:
Manually editing values in the Strategy Metadata incorrectly may cause serious, project-wide problems that may make your project unusable. Since these are user-initiated changes, they are not covered by any Strategy warranty. Users are strongly encouraged to backup Metadata prior to any alteration.