Hi,
I am running BPC10.1 Engine Javascript
When I validate or execute the following code. I get the error: Unknown dimension in keyword "[CATEGORY].[FORECAST:
Can't I use tuples like this?
Sincerely,
Nicky
*SELECT(%YR%,"[YEAR]",CATEGORY,"[ID] = FORECAST")
*SELECT(%PYR%,"[YEAR_PRIOR]",CATEGORY,"[ID] = FORECAST")
*XDIM_MEMBERSET CUSTOMER AS %CUS% = BAS(SAME_VALUE)
*WHEN PROFIT_CENTER
*IS BAS(ALLPRODUCTS)
*FOR %CNT% = .07,.08,.09,.10,.11,.12
*FOR %CUST% = %CUS%
*REC(EXPRESSION=(([TIME].[TMVL(0,%YR%%CNT%)],[CATEGORY].[FORECAST],[ACCOUNT].[INFLATION],[CUSTOMER].[C_NONE]) * (([TIME].[TMVL(0,%PYR%%CNT%)],[CATEGORY].[ACTUAL],[ACCOUNT].[BAS(SALES_ACC)],[CUSTOMER].[%CUST%]) + ([TIME].[TMVL(0,%YR%%CNT%)],[CATEGORY].[FORECAST],[ACCOUNT].[COGS],[CUSTOMER].[%CUST%]))), ACCOUNT=INFLATION, AUDITTRAIL=CALC_INPUT, CATEGORY=FORECAST, TIME=TMVL(0,%YR%%CNT%), CUSTOMER=%CUST%)
*NEXT
*NEXT
*ENDWHEN