The SAS Output Delivery System and reporting techniques

Proc Print Question

Reply
Regular Contributor
Posts: 173

Proc Print Question

Hello all,

I have two BY variables, Fund_Code & Fund_Name, for my proc print. They are basically the same thing. Fund Code lists the numeric fund code, while Fund Name lists the fund name.

SAS calculates the total for each BY variable automatically. But I only want to have one total printed at the end of the report. How can i do this? Currently it shows the total for fund code and a total for fund name. The two totals are the same.

Thanks for your help !!!
KevinC.
N/A
Posts: 0

Re: Proc Print Question

have a look at the SUMBY statement in the PROC PRINT documentation
Regular Contributor
Posts: 173

Re: Proc Print Question

Posted in reply to deleted_user
Awesome! That has worked. Thank you so much!!
I am glad I found this forum. It's a wealth of knowledge!

KevinC.
Ask a Question
Discussion stats
  • 2 replies
  • 116 views
  • 0 likes
  • 2 in conversation