i have an data step.
data One;
set Two;
/*some code*/
run;
How to add additional row after last row of new table?
Is it possible to do optimal? (One table may have many rows ~ 100k – 10M)
Thanks! ( it is TOTAL row, yes )
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simply appending the total line to your data set.
will append the total row to the dataset one.
If you’re generating summary lines / totals, I’d suggest you look into using
proc report. There’s an option to output a dataset that has any summaries, groupings, etc that you create within thereportprocedure. It can be a really powerfulproc.Something like this SUGI Paper might be useful to get you started.
EDIT: based on the comments
Summary for all:
Summarize each species group and get total line