on 01-25-2016 2:15 PM
Dear Experts,
I am facing an issue with periodic calculation. Periodic measure works fine for all months except April.
I have even copied the periodic formula from delivered environment shell
Formula for Periodic Measure:
MEMBER [MEASURES].[YTD] AS 'IIF(([%C_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC" OR [%C_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ"),-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])), ([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])))' SOLVE_ORDER=3
MEMBER [MEASURES].[PERIODIC] AS 'IIF(([%C_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC" OR [%C_ACCT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP") AND NOT ([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="TOTAL" OR [%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="Q1" OR [%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="JAN" ), [MEASURES].[YTD]-([MEASURES].[YTD],[%TIME%].LAG(1)), [MEASURES].[YTD])' SOLVE_ORDER=3
System is calculating Periodic values of April by subtracting YTD April & YTD March.
Time Dimension Looks this:
Even the Total of all the months are getting populated on 2015.TOTAL
VERSION:
BW :SAPKW74013
BPC: SAPK-81008INCPMBPC
Regards,
Rahul Periwal
Hi Rahul,
First table is completely unreadable, please use screenshot or table in the advanced editor!
Second - please show all months of the year, starting from Jan. And on the screenshot clearly show the value with issue.
What is the model default storage type - YTD or Periodic?
Vadim
OK, Now I can see that the cube is YTD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
and I think you have a Problem in understanding accounttypes in BPC
In your case the account you mentioned is defined as "INC" a P&L accounttype.
P&L accounts in periodic are always calculated as Month - previous month.
Normally accounts beginning wit "3" are used in the Balance sheet.
Try to configure the account as "LEQ" not "INC"
Helpful to understand accounttype Basics:
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=281773431
Regards
Jörg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thats true, never said that they are not.
The thread opener ask for a result in PERIODIC that he does not "understand".
Even in a YTD model the P&L accounts are calculated as Prior month - Month as you can see in the measure formula for periodic
you are right!
P.S.
you got me discussing again. sorry
You are right!
Hi Rahul,
in your Formula you see "JAN" as hardcoded member try to change this with "APR"
OR [%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="JAN" )
Your formula is only valid for a year structure beginning with January.
Regards
Jörg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
14 | |
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.