hi i'm new to sas so apologies if this is really easy but i want to total up the fields which have a condition in and those that have a blank in the field. I have 4 conditions so a way to work out the total for condition 1 with/without something in field, then condition 2, condition 3 etc Hope that makes sense Cheers Code i have so far is rsubmit &UNIX; data pol_trv_dims; set DLItm.pol_trv_dims (keep = POLKEY CONDITION1 CONDITION2 CONDITION3 CONDITION4); run; endrsubmit;
... View more