SSRS if string says this then change it to this

user380432 picture user380432 · Aug 25, 2010 · Viewed 10k times · Source

I have a field in SSRS and it returns from SQL saying "Incomplete"

In SSRS I want to say anytime this field says "Incomplete" to change the string to "Pending"

This has to be done in SSRS.

Thanks!

Answer

Decker97 picture Decker97 · Aug 25, 2010

Just use an expression:

=iif(Fields!Field1.Value="Incomplete", "Pending", Fields!Field1.Value)