Common functions used in calculation scripts
ESSBASE common functions: /*@RELATIVE to bring level 0 members and @REMOVE to exclue second portion member list*/ @RELATIVE("TotalDepartment",0) @REMOVE(@Relative("Service", 0),@RELATIVE("UCS-S",0)) /*Clear data, normally with FIX range*/ FIX(&CurPlanScenario,&CurPlanVersion) CLEARDATA "Opex_Inputs"; ENDFIX /*@MDSHIFT and @PRIOR*/ IF(@ISMBR("Jan")) "AC_1921" = @MDSHIFT("Other_Inputs"->"DEP_GEN"->"Input_USD"->"AC_1921",11,"Periods",,-1,"Years",); ELSE "AC_1921" = @PRIOR("Other_Inputs"->"DEP_GEN"->"Input_USD"->"AC_1921"); ENDIF /*@PRIOR to handle Feb:Dec vs. Jan*/ Fix(@Relative("Service",0)) "Attrition" ( IF(@ISMBR(Jan)) "Attrition" = @PRIOR("UOL"->Dec, 1, @RELATIVE(Years,0)) * "Attrition %" -> "BegBalance...