BI Publisher (MOSC)

MOSC Banner

How to use addition in IF condition in RTF template

edited Jun 12, 2025 5:24PM in BI Publisher (MOSC) 3 commentsAnswered ✓

My requirement is as follow:

if (a + b) > 0 then (c+d) else (e+f)

I put in the following in the RTF template for the column but I'm not getting the correct result:

<?xdofx: if <?Field 1 + Field 2?> > 0

then <?Field 3 + Field 4>

else <?Field 5 + Field 6>

end if?>

Please can someone tell me what I'm doing wrong and how to fix it.

Thanks

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