09-11-2014 01:44 AM
I'm new to sas and stuck with the following issue.
I want to group my dataset by the UR_1 variable and get the summation of UR_1P variable for each UR_1?
Can anyone suggest how to get this?
Thanks in advance.
09-11-2014 10:02 AM
As far as I know, there is no way to use this kind of summary in a data step.
You could use a PROC MEANS instead and use the OUTPUT Statement and a 'SUM =' there to receive only the sum.
The SQL-solution provided above should be the quicker way, imho. :-)
Need further help from the community? Please ask a new question.