I would try to change the ParallelPeriod(Month, 12)
to ParallelPeriod(Year, 1)
in your measure definition:
scope ({Measures.[Sales Value LY]});
this = (PARALLELPERIOD(
[Time].[Year - Month - Date].[Year],
1,
[Time].[Year - Month - Date].CURRENTMEMBER
),
[Measures].[SALES AMOUNT]);
end scope;
ParallelPeriod
only works properly if the current period is below or at the level stated as the first argument.
EDIT
Maybe changing the expression like proposed at http://sqlblog.com/blogs/mosha/archive/2007/01/13/multiselect-friendly-mdx-for-calculations-looking-at-current-coordinate.aspx would help:
scope ({Measures.[Sales Value LY]});
this = Sum(EXISTING [Time].[Year - Month - Date].[Day].Members,
(PARALLELPERIOD(
[Time].[Year - Month - Date].[Year],
1,
[Time].[Year - Month - Date].CURRENTMEMBER
),
[Measures].[SALES AMOUNT]
)
);
end scope;
I was guessing the name of your day level, maybe you have to adapt that.
Sales Value LY
defined? – FrankPlscope ({Measures.[Sales Value LY]}); this = (PARALLELPERIOD([Time].[Year - Month - Date].[Month], 12,[Time].[Year - Month - Date].CURRENTMEMBER),[Measures].[SALES AMOUNT]); end scope;
– user1800552