BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DavidPhillips2
Rhodochrosite | Level 12

How can I display header type text within a proc report?  I am trying to display different text per section.  The below block creates a report where the line call is displayed for every category group with the same text.

 

proc report data=FacultyProfileFall;
column categoryGroup colPreOrdering2 formatGroup c2 c3 c4 c5 c6 c7;

define c2 / format=comma9. '2011-12';
define c3 / format=comma9. '2012-13';
define c4 / format=comma9. '2013-14';
define c5 / format=comma9. '2014-15';
define c6 / format=comma9. '2015-16';
define c7 / format=comma9. '2016-17';
define categoryGroup / group order = internal ;
define colPreOrdering2 / group order = internal format= rankFormatValue. ;
define formatGroup / group noprint;

compute before categoryGroup / style=[just=l font_weight=bold];
if categoryGroup = 5 then do;
line 'Insert only once rather than every category group.';
end;
endcomp;
run;

1 ACCEPTED SOLUTION

Accepted Solutions
DavidPhillips2
Rhodochrosite | Level 12

line categoryGroup; 

View solution in original post

1 REPLY 1
DavidPhillips2
Rhodochrosite | Level 12

line categoryGroup; 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 704 views
  • 0 likes
  • 1 in conversation