BookmarkSubscribeRSS Feed
xiangpang
Quartz | Level 8

Hello, 

 

I want to make a table with proc report. The header is like following: 

 

country -------------report-----------------

  USA     man        woman       child  

 

I tried to do that in column as 

 

columns Country ( "-------report-------" sex1 sex2 child)

 

but the result is like the following :

 

country __------------report------------__

  USA     man        woman       child  

 

Anyone knows the solution? Thanks a lot

3 REPLIES 3
PaigeMiller
Diamond | Level 26

I don't see what is wrong with the result. Explain. 

--
Paige Miller
xiangpang
Quartz | Level 8

The result has underline '__' on the two side of dash line '-------'

That is the problem. 

Reeza
Super User

Can you post your full code so we can replicate the issue?

Your SAS version and the ODS destination (PDF, LISTING, HTML, EXCEL, RTF) would also help. 

 


@xiangpang wrote:

The result has underline '__' on the two side of dash line '-------'

That is the problem. 


 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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