Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Suppressing zeros in and SSRS report

Posted on 2010-08-12
4
Medium Priority
?
2,721 Views
Last Modified: 2012-05-10
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
Comment
Question by:Laura2112
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Auric1983 earned 750 total points
ID: 33566201
You should be able to right click on the column and tell it to suppress zero's without the need for custom code.

0
 
LVL 14

Assisted Solution

by:Emes
Emes earned 750 total points
ID: 33580623
make another column in the report to be sure that you have a zero.

the other option is to do it inside sql.

0
 

Author Comment

by:Laura2112
ID: 33580843
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
 

Author Closing Comment

by:Laura2112
ID: 33580845
Thanks for your contribution!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question