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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 397 views
  • 1 like
  • 2 in conversation