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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1073 views
  • 1 like
  • 2 in conversation