Solved

Summary Function not displaying zero

Posted on 2013-02-04
4
386 Views
Last Modified: 2013-02-04
I got a summary function that doesn't display zeroes, although I've made sure that in the Format Editor / Number/ Customize, that "suppress zero" is not checked, yet, I still get blank instead of zeroes, any thoughts?

Thx
0
Comment
Question by:Roberto Madro R.
  • 2
4 Comments
 
LVL 18

Assisted Solution

by:vasto
vasto earned 100 total points
ID: 38851947
Do you have null values in any of the records ?
0
 
LVL 18

Accepted Solution

by:
UnifiedIS earned 300 total points
ID: 38852032
Replace nulls with zero in your data source or with a formula


Formula:

IF ISNULL(field_you_are_summarizing) THEN
0
ELSE
field_you_are_summarizing

Replace the field on the report with the formula and summarize the formula
0
 

Author Comment

by:Roberto Madro R.
ID: 38852097
The formula I have in the Detail section is simple but I use it to check on the values in that field, with that in mind I need to build a formula that checks for nulls yet still compares the value I'm looking for.

IF ({table.field}) = "xx"
Then 1
Else 0
0
 

Author Closing Comment

by:Roberto Madro R.
ID: 38852840
To get around this problem, I wrapped an "if isnull" statement around my formula (see above) and it worked fine

IF ISNULL (Sum ({@CountXX}, {Table.Field}))
Then 0
Else Sum ({@CountXX}, {Table.Field})
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

680 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