$ 0 0 You can use either of the below given formula. Refer screenshot attached. =Sum(ToNumber([Flag]))=count([Id]) Where ([YESNO_FLAG]="Y") Regards,Naras