NOOBS N=

Reply
New Contributor
Posts: 4

NOOBS N=

I created a basic report that is broken up into a couple hundred categories by an ID name. Each category has a list of reports under that ID name that is named at the top. The sum of files under that ID name are counted for at the end of each category. My question is how to include the ID name into the n= statement. is that possible? for ex. the end would read Total count of ID... : 

 

Proc Sort;

    BY ID FILE

PROC PRINT DATA=... NOOBS N= 'TOTAL COUNT:'

'FINAL COUNT:';

BY ID;

PAGEBY ID;

SUMBY ID;

RUN;

 

Super User
Posts: 19,194

Re: NOOBS N=

Usually you would use #byval(byvariable) as in this example but I'm not sure it works in a PRINT statement

 

http://support.sas.com/documentation/cdl/en/proc/68954/HTML/default/viewer.htm#p0f022tve3mt0tn162itr...

Ask a Question
Discussion stats
  • 1 reply
  • 520 views
  • 0 likes
  • 2 in conversation