Trying to create a graph..but cant really determine where to put what.Basically the graph has this query:CREATE PROCEDURE rsp_issues_per_week @ClientID integerASSET NOCOUNT ONSELECT dbo.Issue.IssueID, dbo.Issue.OpenDate, dbo.Issue.TargetDate, dbo.Issue.ClosedDate,CASE WHEN ClosedDate IS NOT NULL THEN 'Closed' WHEN TargetDate < GetDate() AND ClosedDate IS NULL THEN 'Overdue' ELSE 'Open' END AS Status,Case WHEN ClosedDate IS NOT NULL Then 1 Else 0END AS BClosed,Case WHEN TargetDate < GetDate() AND ClosedDate IS NULL THEN 1 Else 0ENDAS BOverdue,CASE WHEN ClosedDate IS NULL And GetDate() < TargetDate THEN 1 Else 0ENDAs BOpenFROM dbo.Issue INNER JOIN dbo.Client ON dbo.Issue.ClientID = dbo.Client.ClientIDWHERE (dbo.Issue.OpenDate >= GETDATE() - 7)SET NOCOUNT OFFGO
What I am doing is getting the total number of open / closed / overdue issues within a 7 day work week.So Im thinking on the "x-axis" I need to store the "day of the week"...not sure how to modify my query to do that...or do I need to modify it.On the y-axis I am guessing it is the total count of issues for that week...seems simple right? Well I got it in Access but not sure how RS handles this...What do I place in the "series" fields here area. For drop data fields here I put "BOpen" "BClosed" and "BOverdue" from my query (I hope this is right). These fields just say the number of issues. In drop category fields I put in "Status"...hopefully that is ok...Can anyone shed some light? Ill continue tinkering with it.Jon