2

I do not have much experience in SSRS and I've realized that the best way to replace NULL values from a result set (returned to SSRS) is to use this:

=IIF(IsNothing(Fields!MyField.Value),"NA",Fields!MyFields.Value)

But how to apply this exactly? I'm not sure what to do with this line. Thank you in advance for any help!

LearnByReading
  • 1,813
  • 4
  • 21
  • 43

2 Answers2

4

Right click on the text box you want the information to appear, click Expression and enter script in the box.

voila.

enter image description here

Trubs
  • 2,829
  • 1
  • 24
  • 33
0

You could use the COALESCE command in your SQL statement.

SELECT COALESCE(MyField,'N/A') AS 'MyField' FROM dbo.clients
MAlvarez
  • 86
  • 5