IIF Statement

Joined
Oct 11, 2012
Messages
2
Reaction score
0
I have an IIF Parameter in SSRS that is giving me an error and I can't figure out what's wrong with it. Any help would be great.
:confused:
= iif(Parameters!pc.Value ="CAT","0",Fields!NonMOSales.Value)
 
Joined
Oct 11, 2012
Messages
2
Reaction score
0
The error that I'm getting is "#Error"
there is no message, just giving me an #Error in th column.

Thank You
 
Joined
Mar 20, 2012
Messages
764
Reaction score
4
Is the pc.Value field blank in the records that you're receiving this error? The IIF formula will return that if the field in the Expr argument is blank.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top