BookmarkSubscribeRSS Feed
MSK4
Obsidian | Level 7

WhatsApp Image 2021-02-07 at 14.34.28.jpegHere is the image. 

Arrow 1 represent how to reduce row height by using proc report?

Arrow 2 represent how merge three cells and get grand total in merged cell?

Please help me . Thanks in advance.

5 REPLIES 5
Kurt_Bremser
Super User

@MSK4 wrote:

WhatsApp Image 2021-02-07 at 14.34.28.jpegHere is the image. 

Arrow 1 represent how to reduce row height by using proc report?

Arrow 2 represent how merge three cells and get grand total in merged cell?

Please help me . Thanks in advance.


I see no arrow in your picture. Please post example data in usable form (data step with datalines), and a screenshot of the intended report, as you create it manually in Excel.

ballardw
Super User

"Merged cell" would typically mean only show one cell with the contents of multiple variables.

Which I would take means the data is structured incorrectly for normal SAS usage.

If you mean that want to add a column that is the SUM of variables of A1, A2 and A3 say so as that is not a "merge"

 

Example values, example desired output and code you are currently using is pretty much neede

MSK4
Obsidian | Level 7
"Merged cell" would means only show one cell with the content of Grand total. Please check picture above thank you.
ballardw
Super User

@MSK4 wrote:
"Merged cell" would means only show one cell with the content of Grand total. Please check picture above thank you.

Sorry but your picture is not exactly helpful without values in cells. All of the "totals" would be blank, so no reason to show a column at all.

 

Show the basic report code you are using to get a far as you have so far. And example data is really helpful.

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
  • 5 replies
  • 553 views
  • 0 likes
  • 4 in conversation