Hi everyone,
I'm using SAS 9.3.
Does anyone have a suggestion to set a horizontal line in the heading like this?
I think Figure10 in this paper is pretty close to what you want https://support.sas.com/resources/papers/proceedings11/246-2011.pdf
I think Figure10 in this paper is pretty close to what you want https://support.sas.com/resources/papers/proceedings11/246-2011.pdf
You are luck man. Here is:
ods escapechar="^";
proc report...;
columns x ("^R'\brdrb\brdrs\brdrw15 'Powers" y z) ;
Hi @Ksharp,
Thanks for your help, it works!
May I ask another question continued the previous post? (PROC Report footer).
Now, I could put "Note: xxx" at the end of the table and out of the bottom border line.
But, it cannot be presented on every page when the total page of the table is more than 1. (In some tables, it is only presented on the last page. Why?)
How should I do?
Here is my partial code:
proc template...;
...
replace Table from Output / frame=above;
...
end;
run;
And I put "Note: xxx" using:
compute after _page_/style={just=l font_face='Arial' font_size=10pt bordertopcolor=black bordertopwidth=0.25};
line "Note:";
line "The unit of age is year";
endcomp;
JC
Sorry. I have no idea about it. I remember there is an option BODYTITLE for proc report, but I don't know if it is worked for FOOTNOTE. I suggest you post it at ODS REPORT forum, @Cynthia is there, maybe she could give you answer.
Which ods destination are you using and what does the ODS destination like look like? Different destinations have different options for title and foot note appearance.
I'm using
PROC REPORT;
...
...
...
RUN;
ODS RTF file="xxxxx.rtf" style=xxxxx ;
ODS PRINTER PDF file="xxxxx.pdf" style=xxxxx replay; run;
ODS PRINTER PDF PDF CLOSE;
ODS RTF CLOSE;
JC
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.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.