DATA Step, Macro, Functions and more

How to put outputs of proc reports or proc tabulate and proc report side by side

Reply
Contributor
Posts: 39

How to put outputs of proc reports or proc tabulate and proc report side by side

[ Edited ]

Hi.

I have such problem. I create several reports via proc reports and proc tabulate, but they are presented under one another, but I have free space on my scree I would like to put them side by side.

I use SAS Enterprise Guide



title "Sold Items" ; proc report data=without_colors; where Date eq '30Jun17'd; column Area N_Item_Name Sale_Category; define Area/ group width=6; define N_Item_Name / Across format=$mdclass. width=6; define Sale_Category / Across width=6; run; title "Remaining Mobile Devices in the Warehouses" ; proc report data=r_675_without_colors; where New_Date eq '30Jun17'd; column Area N_Item_Name; define Area / group width=6; define N_Item_Name / Across format=$mdclass. width=6; run;

 

Super Contributor
Posts: 345

Re: How to put outputs of proc reports or proc tabulate and proc report side by side

Please attach a screenshot as image, not as office document.

 

You can create a Report in EG, select File/New/Report.

Super User
Super User
Posts: 7,955

Re: How to put outputs of proc reports or proc tabulate and proc report side by side

You will want to look into gridded outputs to a file format which supports such a thing, the basic output window doesn't, but HTML should:

http://support.sas.com/documentation/cdl/en/odsug/69832/HTML/default/viewer.htm#p0g1r9d5mqtuezn1g3sv...

 

Also, avoid posting Office files, you would have seen the recent global problems, a lot came from people downloading office files - they are unsafe.

Super User
Posts: 10,028

Re: How to put outputs of proc reports or proc tabulate and proc report side by side

ods layout gridded columns=2 advance=table;
  proc print data=sashelp.class;run;
  proc print data=sashelp.cars(obs=20);run;
ods layout end;

http://blogs.sas.com/content/iml/2015/12/02/matrices-graphs-gridded-layout.html

http://blogs.sas.com/content/iml/2016/03/02/dummy-variables-sasiml.html

Ask a Question
Discussion stats
  • 3 replies
  • 99 views
  • 2 likes
  • 4 in conversation