03-29-2017 08:52 PM
I am trying to create minute intervals using proc expand. I am using 'method=step' which works well for most of my variables, but I would like the value of one/or a number of the variables that are carried forward to be set to zero.
I am aware of the convert/transform option but cannot seem to get this working as such.
My code looks something like this:
proc expand data = hk_floor.hk_a out=hk_floor.hk_aa to=minute method=step; by _ric date_L_; id time_l_; run;
03-30-2017 05:00 PM
You may want to provide a brief example of some imput data and the desired result for the rules you need.
The phrase "like the value of one/or a number of the variables that are carried forward to be set to zero" really should reflect which variables have the need based on the syntax you show. Otherwise we are completely guessing as to what syntax change may be needed.