BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I created an HTML file using PROC TABULATE. I divided my table into parts depending on one column, so that I have several tables on my HTML page. I wanna put just one single title to the top of page (now, the title is written above each single table), how can I do that? Thank you...
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
SAS wants to repeat the title statement on every "logical" page. So it sounds like that's what you're getting with your multiple tables. If what you want is just some text at the top of all your tabulate output, then I suggest using the TEXT= option.

cynthia
[pre]
title;
footnote;

ods html file='text_title.html' style=sasweb;

ods html text='<center><H2>Text String Looks Like Title</H2></center>';

proc tabulate data=sashelp.shoes;
where region in ('Asia', 'Canada', 'Pacific');
class region product;
var sales;
table region,
product,
sales*(mean sum);
run;

ods html close;
[/pre]

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
  • 1 reply
  • 485 views
  • 0 likes
  • 2 in conversation