I'm trying to diagnose a bug in a calculated measure in a SSAS cube, and while debugging I get this weird behaviour ...[code]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 rowsfrom Compass3[/code]...returns the following:[code] Net Lost Commitments 2009\10 (null) 2010\11 9,937[/code]I'm trying to figure out why the value for 2009\10 is null. It should not be and I cannot see why the calculated measure Net Lost Commitments would work for most time periods but not for FY 2009/10. 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 ...[code]with member [Measures].[test] as nullselect [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 rowsfrom Compass3[/code]...returns the following:[code] Net Lost Commitments 2009\10 8,783 2010\11 9,937[/code]Have you ever seen that before? What could possibly be the cause?--Matt.
↧