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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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