BerkshireGuy wrote:
PolNum DateInterviewComplete
---------------------------------------------
1234 11/23/2006
1323 11/03/2006
4342 Null
2322 Null
I want to create a chart that shows the percentage completed -
DateInterviewComplete has a value and percent In Progress -
DateInterviewComplete IsNull.
So the above example would be 50% Complete - 50% In Progress.
OK, so combine all the results and anything with a date in
DateInterviewComplete would be "Complete" and anything without a date
(null) would be "In Progress".
Create a calculated field in the SQL/query that your graph is based upon
and use the iif() function. In the query design grid, the field would
look like this (I called it status) - wathc for wrap, this is a single line:
Status: iif(isnull(DateInterviewComplete), "In Progress", "Complete")
That should do it for you. I'd want to do a chart whereby the series is
Status. That way, you can show the in progress versus completed using a
stacked, or even a 100% stacked, column or bar chart.
--
Tim
http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Be Careful, Big Bird!" - Ditto "TIM-MAY!!" - Me