• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2830
  • Last Modified:

Suppressing zeros in and SSRS report

I thought that this would work, and it does, but not for all values in the column. Most.
My value is 1019. 88.   Returns the space instead. Very peculiar. Any suggestions on another way to suppress 0 in the report?

=iif(Fields!WC_Price.Value = 0,"",FormatCurrency(SUM(Fields!WC_Price.Value),0))
0
Laura2112
Asked:
Laura2112
  • 2
2 Solutions
 
Auric1983Commented:
You should be able to right click on the column and tell it to suppress zero's without the need for custom code.

0
 
EmesCommented:
make another column in the report to be sure that you have a zero.

the other option is to do it inside sql.

0
 
Laura2112Author Commented:
I ended up having to format in the text box properties rather than as an expression. Using the expression seemed to get intemittent results. There is also a feature in the text box propertied to suppress zeros. Thanks guys for your input. How about I split points between you?  
0
 
Laura2112Author Commented:
Thanks for your contribution!
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now