Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8695

Re: Using functions in MDX logic script

$
0
0

Hi Natalija,

 

The only conditional operator supported is ternary operator:

 

EXPRESSION or FACTOR=LogicalTest ? ExpressionIfTrue : ExpressionIfFalse

 

Like:

 

*REC(EXPRESSION=%VALUE%>0 ? %VALUE%*2 : 0)

If current value greater then zero then write current value multiplied by 2, else - write zero.

 

Fob BPC NW 10 with ABAP calculation engine nested ternary operator is not supported, with JAVASCRIPT calculation engine - nested is supported.

 

B.R. Vadim


Viewing all articles
Browse latest Browse all 8695

Trending Articles



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