Solved

Summary Function not displaying zero

Posted on 2013-02-04
4
379 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:codedigger
  • 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:codedigger
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:codedigger
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now