BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm using ODS PDF to generate the report.Now I only want to merge the cell with another one whose value is empty.
The DEFINE COLUMN Statement of TEMPLATE Procedure can merge two columns,but how can I merge two designated cells?
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
I'm not sure what you want to do. When you define a table template or when you use PROC REPORT or PROC TABULATE, you can create column headers that are essentially "merged" or that span multiple header columns.

As for the data cells themselves, ODS generally expects that every report row will have the same number of data cells. So, for example, when you use MERGE=ON with a custom table template, you will notice that EVERY cell on a row is merged with the cell to its right. That's because every ODS wants every row to have the same number of data cells in the columns.

It sounds to me like you want to only have certain cells on selected rows merged?? I don't believe this is possible.

cynthia
Duong
Obsidian | Level 7
Hi Jackywu

Some one asked this question before see this link.

http://support.sas.com/forums/message.jspa?messageID=8740#8740


Regards
Duong

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
  • 2 replies
  • 990 views
  • 0 likes
  • 3 in conversation