Hi experts.
We are currently migrating (reconfiguring) ouu solution of BPC 7.50 to BPC 10.0.
It is almost finished already, but I'm with an issue related to Custom Measure.
We have configured here a Measure that, according to a property of Account dimension, must show the Year value as a Sum of the months, or the value of December, or even the value from January.
So, here it is the MDX of my customer measure:
'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/UAPJD0N")="F",
IIF([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/CALC")="Y",
([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),
([MEASURES].[/CPMB/SDATA])),
IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/UAPJD0N")="I",
IIF([%TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/CALC")="Y",
([MEASURES].[/CPMB/SDATA], OPENINGPERIOD([%TIME%].[LEVEL02])),
([MEASURES].[/CPMB/SDATA])),
IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",-[MEASURES].[/CPMB/SDATA],IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",[MEASURES].[/CPMB/SDATA],IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),-[MEASURES].[/CPMB/SDATA]))))))';SOLVE_ORDER=3
So, as you can see, the result shoul be "10" for the collum 2015, since the property TOTTYPE for this Account is filled with "F".
PS1: This solution is already working properly in our BPC 7.50.
PS2: It is attached to this message theTIME and ACCOUNT dimensions (JPG).
Any hints?
Thanks in advance.
Adriano Frossard.
So, as you can see, the result shoul be "10" for the collum 2015, since the property TOTTYPE for this Account is filled with "F".
PS1: This solution is already working properly in our BPC 7.50.
PS2: It is attached to this message theTIME and ACCOUNT dimensions (JPG).
Any hints?
Thanks in advance.
Adriano Frossard.