Here's a pretty common situation:
I have actual sales for 2014.01 and would like to increase them by 10% to calculate plan sales for 2015.01 of 110.
I am trying to use Best Practices and am using an ACCOUNT dimension with member NET_SALES and another dimension KEY_FIGURE with member PCTPRIORYR for percent increase from prior year.
I am not applying the same percentage increase to all months of the year, for example Jan might be 10%, Feb 15%, March 8%, etc., but I'm trying to keep my example simple using only one month.
As input I have created the following values
ACTUAL NET_SALES 100 2014.01
PLAN PCTPRIORYR 10 2015.01
I'm stuck on the *REC statement. Any suggestions of how to accomplish this?.
*XDIM_MEMERSET ACCOUNT=NET_SALES
*XDIM_MEMBERSET KEY_FIGURE=PCTPRIORYR
*XDIM_MEMBERSET CATEGORY=ACTUAL
*XDIM_MEMBERSET ENTITY=1000
*XDIM_MEMBERSET TIME=2014.01,2015.01
*FOR %MONTH% = 2014.01
*WHEN TIME
*IS 2014.01
*REC(EXPRESSION=%VALUE%*GET(KEY_FIGURE="PCTPRIORYR"),CATEGORY="PLAN",TIME=TMVL(12,%MONTH%))
*ENDWHEN
*NEXT
*COMMIT
The above errors with the following message: Unknown dimension name in Keyword PCTPRIORYR.
Note that the dimension is KEY_FIGURE and PCTPRIORYR is only a dimension member.
I know that Script Logic does not permit the use of AND or OR and when I am trying to accomplish is something like
*REC(EXPRESSION=%VALUE%*GET(KEY_FIGURE="PCTPRIORYR" AND TIME=2015.01) etc.
Note that my XDIM_MEMBERSET for time includes both 2014.01 and 2015.01 in memory.so the values should be available for the calculation.
Can anyone suggest how to reference 2015.01 in the *REC statement and the cause of the above error?
Thanks,
Bob