on ‎2016 May 29 10:17 AM
Hi All,
We are transferring periodic measure from one BPC 10 model to another as YTD.
This somehow seems to have stopped working. Now the destination app only gets the records transferred and not the YTD roll-over to rest of the year.
Script looks as below.
*XDIM_MEMBERSET DATATYPE = ACTUAL
*XDIM_MEMBERSET MEASURES = YTD
*XDIM_MEMBERSET ACCOUNT = BAS(PL) // P&L Accounts
*DESTINATION_APP = CONSOL
*WHEN ACCOUNT.ACCTYPE
*IS "INC", "EXP"
*REC(FACTOR = 1)
*ENDWHEN
If I load 1 record as periodic CONSOL model should get 12 records as YTD. Only 1 record for period 1 gets reflected in Consol now.
This was working till last month but stopped working now. The Script hasn't changed since long.
Its BPC 10.0 SP 12 NW
Any advise how to trace it down?
Thanks,
Pratap
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Pratap,
Full script, please! How you select time periods to transfer, etc...
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you never load data for already loaded periods then the script like you have will work: one month at a time or number of last months. If you try to load January having already loaded JAN-APR then the results will be incorrect.
This script is generating the uploaded month (months) YTD values and transfer the result to the same month in YTD cube.
"If I load 1 record as periodic CONSOL model should get 12 records as YTD." - absolutely incorrect idea!
By the way, to make script more universal (to calculate properly in case of multiple periods within one year) look on this (using property TIMEID):
*SELECT(%YS%,[YEAR],TIME,ID=%TIME_SET%)
*SELECT(%TY%,[ID],TIME,YEAR=%YS% AND PERIOD=JAN)
*SELECT(%Y%,[YEAR],TIME,ID=%TY%) //Single Year in %Y%
*SELECT(%TIDS%,[TIMEID],TIME,ID=%TIME_SET%)
*SELECT(%TIDPREVINCL%,[TIMEID],TIME,TIMEID<=%TIDS% AND YEAR=%Y% AND CALC=N)
*SELECT(%TNEXTINCL%,[ID],TIME,TIMEID>=%TIDPREVINCL% AND YEAR=%Y% AND CALC=N)
*XDIM_MEMBERSET TIME = %TNEXTINCL% //periods starting from the earliest till the end of the year
*XDIM_MEMBERSET MEASURES=YTD
*DESTINATION_APP = CONSOL
*WHEN DATATYPE
*IS ACTUAL //only in case of ACTUAL data
*WHEN ACCOUNT.ACCTYPE
*IS INC,EXP //P&L accounts
*REC(FACTOR = 1)
*ENDWHEN
*ENDWHEN
Example:
Data uploaded for 2016.02, 2016.04, 2016.05
%TNEXTINCL% will be 2016.02,2016.03,2016.04,2016.05,2016.06,2016.07,2016.08,2016.09,2016.10,2016.11,2016.12
Correct YTD values for all this months will be recalculated
2016.01 YTD will be unchanged.
Vadim
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.