Using the table below, I want to count the race of the unique students who have a referral for Disrespect. Each student only gets counted once even if they have multiple referrals so the race will only be counted once. There are 4 unique students that have a referral for Disrespect. There should be 2 Ws, 1 B and 1 H for a behavior type of Disrespect.
[pre]
[/pre]
[pre]
Code:
Behavior Type Student Race
Disrespect 1 W
Disrespect 2 B
Disrespect 1 W
Disrespect 1 W
Disrespect 3 H
Disrespect 4 W
Disrespect 2 B
Disrespect 1 W
Disrespect 3 H
Disrespect 4 W
Unauthorized 1 W
Unauthorized 1 W
Unauthorized 4 W
Unauthorized 1 W
Unauthorized 3 H