I have 3 tables:
Employees
Inbound
Outbound
The Inbound and Outbound tables both have the EmpId value as a field to link to the Employees table. The Inbound table contains info on all Inbound calls the employee received, and the Outbound table contains info on all Outbound calls the employee made.
I would like to build a report that that counts total inbound calls and total outbound calls for each employee and adds them together.
The Inbound and Outbound tables each have a field called Score, and my next step is to add all the scores together for each employee. I can then divide by the total number of inbound and outbound calls to have an average score for each employee.
My problem is I can't figure out my links. When I add the three tables and join by the by the EmpId field (Inbound to Employees, and Outbound to Employees) I don't get desired results.
I've also tried adding the Employees table twice - joined one table to Inbound, and the other to Outbound. This results in an ODBC error and the report crashes.
I think my next step is going to have to be a subreport - the main report will be Employees & Inbound, and the subreport will be Employees & Outbound. I really don't want to have to go this route though.
Does anyone know another way to accomplish the above??
Thanks.
Employees
Inbound
Outbound
The Inbound and Outbound tables both have the EmpId value as a field to link to the Employees table. The Inbound table contains info on all Inbound calls the employee received, and the Outbound table contains info on all Outbound calls the employee made.
I would like to build a report that that counts total inbound calls and total outbound calls for each employee and adds them together.
The Inbound and Outbound tables each have a field called Score, and my next step is to add all the scores together for each employee. I can then divide by the total number of inbound and outbound calls to have an average score for each employee.
My problem is I can't figure out my links. When I add the three tables and join by the by the EmpId field (Inbound to Employees, and Outbound to Employees) I don't get desired results.
I've also tried adding the Employees table twice - joined one table to Inbound, and the other to Outbound. This results in an ODBC error and the report crashes.
I think my next step is going to have to be a subreport - the main report will be Employees & Inbound, and the subreport will be Employees & Outbound. I really don't want to have to go this route though.
Does anyone know another way to accomplish the above??
Thanks.