Hi, I would like to delete all rows for IDs who only have 0s for var So, in the example below, I would delete all rows for ID#2. Somehow, I have to read all obs in each by group and then flag those who only have 0 but having trouble finding how.. Thanks very much!! Have Want ID var ID var 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 1 1 0 1 0 1 1 1 1 1 0 1 0 2 0 3 0 2 0 3 0 2 0 3 0 2 0 3 1 3 0 3 0 3 0 3 1
... View more