In my SAP BO report, I have RequestID and have used variables to create flag with a status of "First_Seen" and "Authorized". For RequestID, we have a First_Seen flag, some has authorized flag and few has both flags. I want to know how many unique RequestIDs are there where the First_Seen_Flag is 1 of Authorised_Flag is 1 or both flags are 1.