There are three types of qualifing records in a case, each record can only qualify for one of the types. I need to total the cases(group) that have that type of record. So, if the case has: 2 type 1, and 3 type 2, but no type 3, it would count 1 for type 1, 1 for type 2, and 0 for type 3. I'm not sure of how to do this, I have tried grouping, but sum of the sum does not work.
My problem with a crosstab is that I have to report on all three types, even if one of the types does not have a total.
Case Type
1X015M6
1X015M6 1/26/10 2
1X015M6 1/26/10 1
This should count 1 type 1, 1 type 2
1X01NS5
1X01NS5 1/26/10 1
1X01NS5 1/26/10 1
1X01NS5 1/26/10 3
This should count 1 type 1, 1 type 3
1X03V691
1X03V691 1/29/10 2
1X03V691 1/29/10 3
This should county 1 type 2, 1 type 3
1X0BS87
1X0BS87 1/29/10 2
1X0BS87 1/29/10 2
1X0BS87 1/29/10 1
1X0BS87 1/29/10 1
1X0BS87 1/29/10 3
1X0BS87 1/29/10 3
This should county 1 type 1, 1 type 2, 1 type 3
So, the total would be 3 for type 1, 3 for type 2, 3 for type 3
My problem with a crosstab is that I have to report on all three types, even if one of the types does not have a total.
Case Type
1X015M6
1X015M6 1/26/10 2
1X015M6 1/26/10 1
This should count 1 type 1, 1 type 2
1X01NS5
1X01NS5 1/26/10 1
1X01NS5 1/26/10 1
1X01NS5 1/26/10 3
This should count 1 type 1, 1 type 3
1X03V691
1X03V691 1/29/10 2
1X03V691 1/29/10 3
This should county 1 type 2, 1 type 3
1X0BS87
1X0BS87 1/29/10 2
1X0BS87 1/29/10 2
1X0BS87 1/29/10 1
1X0BS87 1/29/10 1
1X0BS87 1/29/10 3
1X0BS87 1/29/10 3
This should county 1 type 1, 1 type 2, 1 type 3
So, the total would be 3 for type 1, 3 for type 2, 3 for type 3