I have a very basic MasterTbl that is imported from Excel. Each line item is a task that was not completed on-time. The fields are: Employee, Customer, Date (This is a daily Long date with time that I have formatted to Short Date). I need to count this data different ways and have created several Crosstab Queries:
1) Number of shifts worked by Employee.
2) Number of customers helped by employee and shift.
3) Total number of customers helped.
4) Total of overdues with breakdown by date (count of Date)
These all work great and give me exactly what I need; and, with PBaldy's help, I have created a form that runs all at the same time with one button click. I created a query that pulls the totals from each of the above crosstabs and creates a column called "Index" that is Overdues / Customer Total / Shift Total. When I have tried to create a chart (graph) from this query, my calculated field didn't show up as an available field. So, for now, I export the info to Excel to graph it.
I am self-taught (with lots of help from you guys) and know that I have missed some of the basics. I am curious if I really had to create these multiple crosstabs to accomplish my task. Could I have used Count Distinct to count the info so many different ways in the same query? While I have this working, I want to learn the most efficient way to have my database perform.
Thank you in advance for any suggestions or comments!