?
Solved

Pivot Table - Hide Calculated Zero Fields

Posted on 2007-03-22
3
Medium Priority
?
549 Views
Last Modified: 2012-06-27
Hello Experts!

I have a pivot table query which contains calculated total fields.  These calculated fields default to zero if the calculation cannot be performed (due to division by zero, etc).

Currently, all fields (row fields) are visible - even those with a calculated value of zero.  However, I would like to hide these.

Is there a setting I'm missing?  Should I change my formula to default to null?  Ideas?

0
Comment
Question by:thotovec
  • 2
3 Comments
 
LVL 14

Expert Comment

by:Glenn_Moore
ID: 18772803
You want to put a formula in your query that states if zero is the outcome replace the zero with null.
0
 
LVL 14

Accepted Solution

by:
Glenn_Moore earned 2000 total points
ID: 18772850
=iif(field=0,"",field)
0
 

Author Comment

by:thotovec
ID: 18801218
Sorry for taking so long -

This was far too easy!

Thanks!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

840 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