you have to use the group select expert options for something like this
group on student
create 2 formulas to be able to flag a group
//flag1
if 5th column='RQ' and first column='SP" then 1
//flag2
if 5th column='RQ' and first column<>'SP" then 1
sum both of these formulas at group level 1 (per student)
now you can srudents exlude records using these 'flags'
in the select expert toggle it to use group statement
sum(@flag1, student)>0 and sum(@flag2, student)=0
Edited by DBlank - 05 Mar 2012 at 9:09am