BO Reports: have a formula produce a null

Robert Brown picture Robert Brown · Apr 2, 2012 · Viewed 8.8k times · Source

I need to have a formula produce a null in some cases, numeric in others. Then I'll use number formatting to present accordingly. Something like this:

=If(Count([Product Id]) = 1) Then null Else [Amount]

Unfortunately null is not a recognised keyword. I've tried nil and nothing also (clutching at straws).

If it possible?

(Business Objects 12 - Web editor)

Answer

Lee Tickett picture Lee Tickett · Apr 2, 2012

Try just =If(Count([Product Id]) <> 1) Then [Amount]