Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fill in line chart with 0 when data missing

Status
Not open for further replies.

nicatt

Programmer
Apr 2, 2001
43
US
I have a line chart where I have counts for each month. I am pulling records from an Access database. I am figuring the time service from submit to issue date. I get the months as follows: IF Month (Issued Date}) = 2 Then "Feb" and so forth. I break the chart on @Month which I also group on, incidently. Some months have no records so I can end up with the following months on a chart (January, February, June, August, December) with correct averages. How do I get the missing months on the chart with a zero average? I know the line might go from 10 in February to 0 in March and that is ok.

Thanks in advance for any clues!!
 
Please post technical information when requesting it:

Crystal version
Database/connectivity used
Example data
Expected output

I have a FAQ which addresses this by using a Period Table (standard data warehousing fare):

faq767-4532

-k
 
I noted in the original post
Database = Access
Example data = IF Month (Issued Date}) = 2
Expected output = Then "Feb" and so forth
Admittedly I did not note that it is Crystal 9.

I have tried the Left outer join to a date table and it throws a DAO error. I will continue to struggle with it.

Thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top