on 11-29-2011 4:17 AM
I need to apply the % factor in calculation.
I need multiply step 1 (X) with step 2 and arrive at step 3.
Step1 = Amount is stored in 'Account1' and datasource 'DS1'.
Step2 = % increment is stored in 'Account1' and datasource 'DS2'.
Step 3= New amount to be stroed in 'Account1' and data source 'DS3'.
I need to write logic as follows: Step1 * Step2(%+100) = Step3
How would the syntex could be drafted in this scenario.
Appreciate input.
Syntax would be as below
*when Account
*is Account1
*when DataSrc
*is DS1
*rec(expression=%value% *( ( [Account].[Account1],[DataSrc].[DS2]) +100) , DataSrc=DS3)
*endwhen
*endwhen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For example, you are in 2011, and you enter the percentage in JAN month, then you can modify the script to:
*XDIM_MEMBERSET TIME = BAS(2011.TOTAL)
*XDIM_MEMBERSET ACCOUNT = ACCOUNT1
*WHEN DATASRC
*IS DS1
*REC(EXPRESSION=%VALUE% * ( ( [TIME].[2011.JAN],[DATASRC].[DS2]) +100), DATASRC=DS3)
*ENDWHEN
Hope this helps.
User | Count |
---|---|
15 | |
4 | |
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.