BookmarkSubscribeRSS Feed
nirali514
Obsidian | Level 7

Hello!

 

Per the picture below. Is there a way to get the 1,2,3 in the sample column to be in the center? Also, is there a way to get the footnote directly under the table? Thank you in advance!

 

 

pic.JPG

2 REPLIES 2
ballardw
Super User

Do you mean vertical center for the sample column? You might try a style override of verticalalign= m (m=> middle)

 

The space between a table and footnote depends on ODS destination and the PARSKIP setting in the active style. If you want text immediately below a table you might try a style override of PostText='your text' but I haven't used that with proc report so I'm not sure where in the syntax and if that will work.

lopezr
Obsidian | Level 7

You can use vjust=center in the style attributes of the column to center the values vertically. Also, one option to have the footnote directly below the table is to include it as part of your PROC REPORT call in a compute statement.

proc report data=sashelp.class spanrows
	style(column)={just=center};
	columns sex age weight;
	define sex/order left style(column)={VJUST=CENTER};
	compute after/style(lines)={just=left};
		line "Footnote here";
	endcomp;
run;

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 922 views
  • 0 likes
  • 3 in conversation