DATA Step, Macro, Functions and more

How to display variable into two rows by proc report

Reply
Occasional Contributor
Posts: 7

How to display variable into two rows by proc report

I would like to display "3 (100 %)" to two rows by using proc report.
First row is "3", second row is "(100 %)"

The value "3 (100 %)" is in one cell.
Thanks for all of your help!

Super User
Posts: 9,676

Re: How to display variable into two rows by proc report

Change "3 (100 %)"
into   "3 ~n  (100 %)"
and add code.


ods escapechar='~';
proc report........
.........

Occasional Contributor
Posts: 7

Re: How to display variable into two rows by proc report

Thank you!

Ask a Question
Discussion stats
  • 2 replies
  • 115 views
  • 0 likes
  • 2 in conversation