on 07-23-2014 4:28 AM
Hi,
We have copied custom measure from one environment to other environment.
In source environment the calculation in custom measure for "Average daily balance Periodic" working fine.
Here it is considering 28 days for Feb2014.But in target environment,it is considering 29 days for Feb2014.
Time dimension members and properties are same in both the environments.
The issue is with Only Feb month.
Any other settings we need to look for new environment/Model?
Thanks,
Manohar
Hi Manohar,
But where is the custom measure formula?
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
The custom measure is in both the environments.
CPMB/CNPW963 (Days of year)is the property of time dimension.
IIF([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="Q2",
IIF([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/CNPW963")="365",
((([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[LEVEL02]).LAG(2))*28 + ([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[LEVEL02]).LAG(1))*31 + ([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[LEVEL02]).LAG(0))*30)/89),
((([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[LEVEL02]).LAG(2))*29 + ([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[LEVEL02]).LAG(1))*31 + ([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[LEVEL02]).LAG(0))*30)/90)
),
Thanks,
Manohar
Hi Manohar,
I have a similar requirement of getting average YTD balances for Balance sheet items. Does your formula work fine for Quarters and Year Totals. I mean do you see correct Average YTD values if you select quarters and Year Totals in report. Ideally Quarters should have same values as the last month of quarters and Total should have same value as December. Please share your measure formula code.
Thanks in Advance.
Regards
Nikhil
Hi Vadim,
I have tried putting an example in attached images. I did it in excel but looks like SCN does not allow excel attachments. I have also put the excel formulas in image. Average YTD means
Jan Feb
Jan value *31/31 (Jan Value*31+Feb Value*28)/59 and so on.
For quarters and Year totals it should be last months value so for Q1 it would be same as March and for Yearly total it would be same as Dec.
Please let me know if you still need further information.
Thanks.
Regards
Nikhil
Vadim,
I have created a new discussion for this as below. I have also put the current formula used.
http://scn.sap.com/thread/3665392
Regards
Nikhil
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.