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.

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