Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Custom Measure Not Working - BPC 10.0 NW

$
0
0

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

 

Account.JPG

 

Dimension.JPG

 

 

TIME Dimension.JPG

 

Report.JPG

 

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.


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>