Solved

Access 2003 - Remove Null Values from Access PivotChart

Posted on 2009-07-01
2
2,343 Views
Last Modified: 2013-11-28
How do you remove null values from an access pivotchart?

the null values are currently showing up as zeros on the graph; I want the graph line to stop at the last true value

I do not want the 'null' values showing up on the chart as zeros

Issue arises as I have 2008 and 2009 data, 2008 runs from fiscal week 01-52 and 2009 runs from 01-22 (fiscal weeks 23-52 are null and show up on the graph as zeros)
0
Comment
Question by:jbradford777
[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 Comments
 
LVL 15

Expert Comment

by:Berkson Wein
ID: 24756481
Instead of having the value be in the pivot chart, I'd use the nz function.
nz will give you whatever you want if the value is null.  For example
nz(valuename,"no data") would print "no data" if valuename is null.
You could do:
nz(valuename,"") to simply print a blank if valuename is null, and print the value otherwise.
Hope this helps.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 24771720
jbradford777,

In order for the Periods to show up on the Pivot Chart, they must have a value.
So, for example, you can't see November 2008 and not have a value associated with it.
This is why it is zero.

If it is null then it does not exist.
If it does not exist, then it can't be on the chart.

If you want to see it on the chart, it must have a value, this is why it is zero.

Make sense?

What you are seing with the line chart is a graphical anomoly that is more pronounced when you use a line chart.
This is because the line is attached to every datapoint, and must "Lead" to the next data point.
Hence, you see the line attached, or "Leading" to the Zero value(s).

If you use Column chart instead, the "Zero" values are not so obvious.
Because a Column is not attacted to anything, and the series for the empty values will still appear.

I have attacched a sample.

(Obviously another option would be to base the Pivot Chart on a query that only displays date values that have values:
SELECT, Fld1, YourDateData, Fld2, FROM tblYourData Where YourDateData Is Not Null)

JeffCoachman
Access-EEQ24536942PivotChartWith.mdb
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

729 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