I am trying to Calculate Stock Turn = (COGS for last 12 months from Current date)/Average Inventory Cost for last 12 months)
.So my 1st step is to Calculate COGS for last 12 months(Cost of Good Sold). I am using the following Query:
SUM( ClosingPeriod([Date].[Calendar].[Month], [Date].[Calendar].[All Periods]).Lag(12):ClosingPeriod([Date].[Calendar].[Month], [Date].[Calendar].[All Periods]), [Measures].[Cogs Amount])
But the Calculated Member is giving me Null results.
Please help.!!
Cheers Rushir