Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Summary Function not displaying zero

Posted on 2013-02-04
4
Medium Priority
?
389 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.
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: 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

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…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

688 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