BI Publisher (MOSC)

MOSC Banner

nested if/ when /choose condition #urgent

edited Feb 25, 2017 4:00AM in BI Publisher (MOSC) 3 commentsAnswered

<?xdofx:if S_TOT_BON_AWD_13 > 0 then

(S_TOT_BON_AWD_13 div ((S_BASE_SAL_13 * S_CUR_BON_TAR_AMO) div 100)) * 100

else

0

end if?>

This code is returning NaN in output because S_BASE_SAL_13 * S_CUR_BON_TAR_AMO returns 0

how to put condition that S_BASE_SAL_13 * S_CUR_BON_TAR_AMO should not be equal to 0

TIA

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