How can I create a new column for an existing dataset that is the running total of an existing column - partitioned by some identifier?
ID | Value | New Val
Here's another option:
data want; do until (last.id); set have; by id; new_value + value; output; end; new_value = 0; run;