BI Publisher (MOSC)

MOSC Banner

How to use SUM(column) when column may conatin a null value

Greetings,
I have a simple report which produces calculated values for vendors.  Two of the calculated columns are conditional ... calculate if the condition is true else display null.
My question is how do I calculate a total for the column (BO_RANDS) when its value may be null?

Currently, I am using <?format-number:sum (BO_RANDS);'999G999G999G999D99'?>.   If one of the detail lines contains a null value for BO_RANDS, the total is null.

Suggestions?

Many thanks for any comments, suggestions or hints you may send my way.

Tom

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