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?

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Update

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
  • 1687 views
  • 2 likes
  • 3 in conversation