I'm trying to diagnose a bug in a calculated measure in a SSAS cube, and while debugging I get this weird behaviour ...
select
[Measures].[Net Lost Commitments] on columns
, {[Date Dimension].[Fiscal Year Hierarchy].[Fiscal Year].[2009\10],[Date Dimension].[Fiscal Year Hierarchy].[Fiscal Year].[2010\11]} on rows
from Compass3
...returns the following:
Net Lost Commitments
2009\10 (null)
2010\11 9,937
I'm trying to figure out why the value for 2009\10 is null and so I've been adding various other calculations via a WITH clause to help track back the problem. But any WITH clause I add changes the results, even if the calculation in the WITH clause is not used. For instance ...
with
member [Measures].[test] as null
select
[Measures].[Net Lost Commitments] on columns
, {[Date Dimension].[Fiscal Year Hierarchy].[Fiscal Year].[2009\10],[Date Dimension].[Fiscal Year Hierarchy].[Fiscal Year].[2010\11]} on rows
from Compass3
...returns the following:
Net Lost Commitments
2009\10 8,783
2010\11 9,937
Have you ever seen that before? What could possibly be the cause?