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!
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.
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 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.