Dear SAS-Community I'm failing with a problem that actually sounds not very complicated: I have a data table of the form as I've attached. For the case that you cannot open it, it looks like this: Code year value 10 2015 375 10 2016 640 10 2017 710 20 2014 0 20 2015 125 20 2016 950 20 2017 0 What I like to do is the following: If the value of the line with code = 20 and year = 2017 is zero (as in my example), then I like to set the values of code 20 (only code 20!) for all years to zero. In my example this would mean that instead of the values 125 and 950 there should be written zero. I'm very grateful for every help! Best regards, Leo
... View more