on 07-14-2015 7:12 AM
As in BPC only one to one copy is possible. So I'm trying to write logic script for copy from one to many.
So, I've created period dimension in which user will select one date & user only will select for how many days that data should be copied. So it'll be a copy from one day to many days copy in period dimension.
Regards,
Mehul Magare
Hi Mehul,
Copy from one to many - RUNALLOCATION:
*RUNALLOCATION
*FACTOR=1
*DIM PERIOD WHAT=MEM1; WHERE=MEM2,MEM3,MEM4
*ENDALLOCATION
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Something like:
%P_period_abex_SET% - user selects 14-07-2015
The TIMEID property is correctly set for all base members in the increasing order:
20150714,20150715...
Let's assume you have property FYEAR = 2015 for 1-04-2015 to 31-03-2016
Then:
*SELECT(%Y%,[FYEAR],P_period_abex,[ID]=%P_period_abex_SET%) //%Y% - 2015
*SELECT(%TID%,[TIMEID],P_period_abex,[ID]=%P_period_abex_SET%) //%TID% - 20150714
*SELECT(%DAYS%,[ID],P_period_abex,[TIMEID]>%TID% AND [FYEAR]=%Y%)
*RUNALLOCATION
*FACTOR=1
*DIM P_period_abex WHAT=%P_period_abex_SET%; WHERE=%DAYS%
*ENDALLOCATION
Vadim
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.