Quantcast
Viewing all articles
Browse latest Browse all 8065

Re: Using functions in MDX logic script

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 8065

Trending Articles