ramblinrose
MIS
I am using CR XI. I have 2 groups. I would like to have summeries based on criteria within the 2nd group.
Group I = WorkerID
Group II = ApplicationID
Details = AppPending AppDenied AppApproved
Data would look like this:
MM21
12345
Y N N
N Y N
N Y N
N N Y
What I want is a count based on the following. If there is a Y in any of the records for the AppApproved within Group II then 1 for AppsPending. If there is a Y in any of the records for AppDenied and NOT a Y for AppApproved within Group II then 1 else 0. If there is a Y in any of the records for AppPending and NOT a Y for AppDenied or AppApproved within Group II then 1 else 0. These counts are based on the records within the Application Group and not each record. So in this instance the result would be: 0 0 1
I then to sum the group totals of 2 for group 1.
How can I accomplish this?
Group I = WorkerID
Group II = ApplicationID
Details = AppPending AppDenied AppApproved
Data would look like this:
MM21
12345
Y N N
N Y N
N Y N
N N Y
What I want is a count based on the following. If there is a Y in any of the records for the AppApproved within Group II then 1 for AppsPending. If there is a Y in any of the records for AppDenied and NOT a Y for AppApproved within Group II then 1 else 0. If there is a Y in any of the records for AppPending and NOT a Y for AppDenied or AppApproved within Group II then 1 else 0. These counts are based on the records within the Application Group and not each record. So in this instance the result would be: 0 0 1
I then to sum the group totals of 2 for group 1.
How can I accomplish this?