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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 492 views
  • 0 likes
  • 2 in conversation