BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
raunit16
Calcite | Level 5

HI all,

 

I want to print column name Crores to the right side and I have tried all the procedure but not able to do so

 

proc REPORT data=WORK.OP;
TITLE " CHECK";
COLUMNS ("Crores" 'List of Branches ' Q1 Q2) ;
define CRORES / " " style(HEADER) = [cellwidth=1in
font=("Times New Roman",11pt) textalign=RIGHT verticalalign=RIGHT];
DEFINE Q1 /DISPLAY;
DEFINE Q2 /display;
RUN;

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

Maybe you mean this .

 

ods escapechar='~';
proc REPORT data=sashelp.class nowd style={asis=on};
TITLE " CHECK";
COLUMNS ("~_~_~_~_~_~_~_~_~_~_~_~_ Crores" 'List of Branches ' name age) ;
run;

x.png

View solution in original post

3 REPLIES 3
Ksharp
Super User
Where is your variable 'CRORES' , it didn't appear at COLUMNS .
Ksharp
Super User

Maybe you mean this .

 

ods escapechar='~';
proc REPORT data=sashelp.class nowd style={asis=on};
TITLE " CHECK";
COLUMNS ("~_~_~_~_~_~_~_~_~_~_~_~_ Crores" 'List of Branches ' name age) ;
run;

x.png

raunit16
Calcite | Level 5
Thanks

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 623 views
  • 1 like
  • 2 in conversation