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

x
?
Solved

Summary Function not displaying zero

Posted on 2013-02-04
4
Medium Priority
?
390 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 400 total points
ID: 38851947
Do you have null values in any of the records ?
0
 
LVL 18

Accepted Solution

by:
UnifiedIS earned 1200 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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 anti-spam), the admin…
Suggested Courses

877 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