BI Publisher (MOSC)

MOSC Banner

abs function in rtf template

edited Apr 8, 2020 7:25AM in BI Publisher (MOSC) 4 commentsAnswered ✓

Hello,

I have to use "abs"  function at template level after doing all the calculation.I have tried in below ways ,but none of it is working.

1.

<?if:TRANSACTION_QTY1!='0'?>

<?xdoxslt:abs(sum(current-group()/LEDGER_AMOUNT))/abs(TRANSACTION_QTY)?>

<?end if?>

2.

<?if:TRANSACTION_QTY1!='0'?>

<?xdoxslt:abs((sum(current-group()/LEDGER_AMOUNT))/TRANSACTION_QTY)?>

<?end if?>

3.

<?if:TRANSACTION_QTY1!='0'?>

<?xdoxslt:abs(div((sum(current-group()/LEDGER_AMOUNT)),TRANSACTION_QTY))?>

<?end if?>

Thanks

Suchita

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center