isnull in SSRS expressions

user3438498 picture user3438498 · Sep 24, 2015 · Viewed 8.4k times · Source

How to use this formula in ssrs-expression

=NOT(isnull({Command.AAID})) or NOT(isnull({Command.HDomain}))
or NOT(isnull({Command.Adomain}))

Thanks.

Answer

Philip Herman picture Philip Herman · Sep 25, 2015

I think what you're trying to do is display data based on whether or not a field has data in it or not? You can always use an IIF statement with ISNOTHING. See below for the expression.

=IIf(IsNothing(Field!Whatever),0,Field!Whatever)

If that doesn't answer your question, let me know.