Dear SAS experts,
I am creating PDF report where I need to make four graphs and two summary reports on single page . I used
http://support.sas.com/kb/41/461.html
as reference to keep graphs on same page and that works .
Problem : I am not able to put graphs ( gplot and gchart) and summary( proc report) together on same page . Summary should be placed in bottom of the pdf report.
My summary report contains just one column and one row . so if you want a sample , you can use sashelp.class with just mean(age).
What I tried : tried to create a summary report as graph , so that I could use that in image in proc greplay to place it along with four graphs , but I could not succeed in creating png file from summary report.
I recommend changing the Gplot and Gchart to SGPLOT as that is where the support is going in SAS.
You will also want to make sure that the startpage is set to "never" before the graph so that the following summary tables have a chance to be on the same page. Then change the startpage back after the summary to get the following output on a different page.
It is also possible that the SIZE of the graph(s) and the summary are exceeding page sizes. The options would be to reduce the size of the graphs and/or the size of the summary in terms of page size. Either Goptions, ods graphics options and Ods style options for the table(s).
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 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.
Ready to level-up your skills? Choose your own adventure.