I've been trying to figure out a grouping issue in Crystal reports on and off for months now- what I am trying to do is summarize a point total for an employee entered as a test result. There are a number of tests for an asset in this particular database. All have a score of 0 if they are in spec, and -10 if they are out of spec. The only result that doesn't score is the employee name. What I want to do is to group each set of results by that employee name test result (all results, both tests and employees are entered in the same test result field). Currently, the time field time is the only common link and they are grouped by this- however, each group will have an employee test result entered. Example below(table names and fields on top row, "score" is a formula):
Group: 24-OCT-2010 14:24:17
Testmainlist. Testmainlist. Testresults. testresults. score
Probetype testdescription Testresult outofspec
Employee Employee Smith,F 243 NA NA
Test Windows Clean? No Yes 10
Test Ledges Yes No 0
Score for group: 10
Group: 25-OCT-2010 09:44:32
Testmainlist. Testmainlist. Testresults. testresults. score
Probetype testdescription Testresult outofspec
Employee Employee James,F 755 NA NA
Test Windows Clean? Yes NO 0
Test Ledges No Yes 10
Test Bed made? No Yes 10
Score for group: 20
End of report summary: 100 - average score:
Smith, F 243 10
James, F 755 20
The idea is to have a summary at the end of the report of the average score for each employee. The only thing that separates them is in the Left column which is the Test Category.
The report runs on a date range and is ordered by time. This means an employee can show up several times in different places.in the report, and there are several different employees. I need to isolate the score for each employee for the average at the end of the report- (in short an average for EACH employee). I know this is a complicated explanation, but hopefully you can see what I'm driving at. Can this be done? Please let me know if I have left out any details.
Note- when I posted this the example had even columns- please let me know if they don't make sense.
Thanks!
Group: 24-OCT-2010 14:24:17
Testmainlist. Testmainlist. Testresults. testresults. score
Probetype testdescription Testresult outofspec
Employee Employee Smith,F 243 NA NA
Test Windows Clean? No Yes 10
Test Ledges Yes No 0
Score for group: 10
Group: 25-OCT-2010 09:44:32
Testmainlist. Testmainlist. Testresults. testresults. score
Probetype testdescription Testresult outofspec
Employee Employee James,F 755 NA NA
Test Windows Clean? Yes NO 0
Test Ledges No Yes 10
Test Bed made? No Yes 10
Score for group: 20
End of report summary: 100 - average score:
Smith, F 243 10
James, F 755 20
The idea is to have a summary at the end of the report of the average score for each employee. The only thing that separates them is in the Left column which is the Test Category.
The report runs on a date range and is ordered by time. This means an employee can show up several times in different places.in the report, and there are several different employees. I need to isolate the score for each employee for the average at the end of the report- (in short an average for EACH employee). I know this is a complicated explanation, but hopefully you can see what I'm driving at. Can this be done? Please let me know if I have left out any details.
Note- when I posted this the example had even columns- please let me know if they don't make sense.
Thanks!