I created a running total field that will do a distinct count on the customer id. I want the distinct count to tally only if the customer type is active. How do I define my formula within the Evaluate section? I used the IIF function but I didn't get the desired result. As an fyi, this is the formula I used: IIF ({ado.customertype}='Active', 1, 0).