I have a table with visits entered and the date of visit. I need to be able to show the average number of visits per day of the week. We want to look at our data and see what day is busiest. I am doing this all in the query builder. When I use the SQL view I get this string if it helps at all.
SELECT tblPatientEncounter.Date, tblPatientEncounter.TTEcho, tblPatientEncounter.Facility, DatePart("w",[Date]) AS Dates
FROM tblPatientEncounter
WHERE (((tblPatientEncounter.Date)<#1/1/2006#) AND ((tblPatientEncounter.TTEcho)=-1))
ORDER BY tblPatientEncounter.Date DESC;
Any ideas? I think I am close since my output give me each visit and the day of the week I just need to group and average them by the date and day.
Thanks
Zorro
SELECT tblPatientEncounter.Date, tblPatientEncounter.TTEcho, tblPatientEncounter.Facility, DatePart("w",[Date]) AS Dates
FROM tblPatientEncounter
WHERE (((tblPatientEncounter.Date)<#1/1/2006#) AND ((tblPatientEncounter.TTEcho)=-1))
ORDER BY tblPatientEncounter.Date DESC;
Any ideas? I think I am close since my output give me each visit and the day of the week I just need to group and average them by the date and day.
Thanks
Zorro