4

Is it possible to replace 0 with blank in ssrs matrix. The expression =IIF(IsNothing(Count(Fields!referralNo.Value)),0,Count(Fields!referralNo.Value))
is same as
=Count(Fields!referralNo.Value).
When I try =IIF(IsNothing(Count(Fields!referralNo.Value)),'',Count(Fields!referralNo.Value)) I'm getting error. Can somebody pls help!

Monte
  • 103
  • 1
  • 1
  • 5

3 Answers3

16

you could use text box properties and set show zero as: option to blank.

enter image description here

Kostya
  • 1,567
  • 1
  • 9
  • 15
2

I use this expression for percentage data - I like code better than format, but they both work ;)

=iif(Fields!STUFF_PCT.Value>0,Fields!STUFF_PCT.Value,"")
goneos
  • 319
  • 2
  • 4
  • 16
0

Use this format #,##0.00;-#,##0.00;""

Dale K
  • 25,246
  • 15
  • 42
  • 71