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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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