ODS and Base Reporting

Build reports by using ODS to create HTML, PDF, RTF, Excel, text reports and more!
BookmarkSubscribeRSS Feed
garret
Calcite | Level 5

When I run PROC MEANS and send the output to PDF, the default is a column for variable label that is narrow and often wraps to two lines to fit the whole thing. That would be OK, but none of the other columns skip a line to keep up with the label. So after any label wraps, the  associated statistics (the ones you'd normally read left to right across a row) are actually from other variables--nothing lines up. How can I get the other columns to automatically stay aligned with the intended variable?

 

 

 

Like this:

var1  this is a long label that continues 123.5

var2 on the next line                              238.4

var3 this is actually var2's label             437.2

var4 this is actually var3's label             123.9

4 REPLIES 4
Reeza
Super User
Change the page orientation to be landscape instead of portrait?
ballardw
Super User

Or send the output to a data set and use Proc Print where you have more display controls than Proc Means.

garret
Calcite | Level 5
Any details on how one might do that?

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1509 views
  • 2 likes
  • 3 in conversation