@clipsia wrote:
sorry but Im talking about huge tables.
I just need sum(price1) because is the total sum of the variable that Im comparing
Then you summarize the data with a procedure like Proc Means or summary, then combine.
Proc summary data=have;
var price1;
output out=work.price1sum sum=;
run;
will create a data set with the sum or Price1 (and couple of other variables you can ignore for the moment).
Do the same with the other data set. Then combine.
... View more