I am trying to run a report showing 3 things
Name of employee
Start date of open issue
Days since the issue is open (For calculating days I am using formula =DateDiff("d",[Start Date],Now())
and my query is
SELECT [Form].[Employee Name], Count([Form].[Completed By]) AS [CountOfCompleted By], [Form].[Start Date]
FROM [Form]
WHERE ((([Form].[Close Date]) Is Null))
GROUP BY [Form].[Completed By], [Form].[Start Date]
HAVING ((([Form].[Completed By]) Is Not Null) AND ((Count([Form].[Completed By])) Is Not Null))
ORDER BY [Form].[Completed By];
But my problem is my query gives employees name duplicate times
so my data looks as this
Name Start Date Days issue open
John 2/2/2014 2
John 3/2/2014 4
John 4 /2/2014 6
Where is I want employee name to appear once with maybe total number of days
John 2/2/2014 6
Showing start date is not required in the report.
I tried doing where condition for start date and then query gives me correct data as in
John 2/2/2014 6
However as start date is where doesn't show up on report and thus no calculation days issue open.