on 2020 Sep 25 7:59 AM
*RUNALLOCATION can't generate the correct result. The example and script is:

*XDIM_MEMBERSET ACCOUNT = 6601002
*RUNALLOCATION
*FACTOR = USING/TOTAL
*DIM ACCOUNT WHAT = 6601002; WHERE = <<<; USING = <<<; TOTAL= <<<;
*DIM CATEGORY WHAT = BUDGET; WHERE = <<<; USING = ACTUAL_IN; TOTAL= <<<;
*DIM TIME WHAT = 2021.INP; WHERE = BAS(2021.TOTAL); USING = BAS(2020.TOTAL); TOTAL= <<<; *ENDALLOCATION
But the result of 2021.01 should is 2000*500/(500+200+300)=1000, how could to correct the script to generate the right data ?
Thanks!
Request clarification before answering.
May be the issue is related to the order of TIME members as a result of BAS(YYYY.TOTAL)
I have tested allocation with the list of TIME members defined manually:
*XDIM_MEMBERSET ACCOUNT=PL110
*XDIM_MEMBERSET ENTITY=DE
*XDIM_MEMBERSET AUDITTRAIL=Input
*XDIM_MEMBERSET PRODUCT=ProductA
*XDIM_MEMBERSET INTERCO=ThirdParty
*XDIM_MEMBERSET RPTCURRENCY=LC
*RUNALLOCATION
*FACTOR=USING/TOTAL
*DIM CATEGORY WHAT=Budget;WHERE=<<<;USING=Actual;TOTAL=<<<
*DIM TIME
WHAT=2017.INP;WHERE=2017.01,2017.02,2017.03;USING=2016.01,2016.02,2016.03;TOTAL=<<<
*ENDALLOCATIONTest is based on ENVIRONMENTSHELL Planning model
Result

Everything is correct!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
837488533
Sorry, but your 2021.INP member is incorrectly configured (missing mandatory property values etc) This may result in unpredictable system behavior!
Correct setup will be:
2021.INP 001 MONTH 1 JAN 10210100 1021 2021.INQ
2021.INQ 003 QUARTER 3 Q1 <empty> 1021 2021.INY
2021.INY 012 YEAR 12 TOTAL <empty> 1021
Use artificial year 1021 and TIMEID 10210100
Also test script with list of time members like in my sample.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 7 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.