BookmarkSubscribeRSS Feed
Reeza
Super User

I'm using tagsets.excelxp to separate a large file into multiple files into an excel workbook.

The file is being separated according to two variables, one is Group and the second is Subgroup.

The groups form each worksheet and the subgroups form 5 different tables in each worksheet.

I'm printing a title for the page overall with the group name and then titles for the subgroups also using title statements.

However, sometimes a subgroup won't have any observations for group, so then the main title won't get printed to the spreadsheet. I've tried using ods text=

instead of title but it still doesn't show up. 

Is there some other option I need to set?

My other solution is to create conditional statements on when to execute things but I was hoping to avoid that complexity because I don't want to be the one supporting the code.ee

3 REPLIES 3
Cynthia_sas
SAS Super FREQ

Hi:

  You might want to check with Tech Support, but I think this is standard behavior and there's no option to set.

cynthia

Reeza
Super User

Thanks Cynthia, I'll give them a shout on Thursday then when I'm back in the office.

Peter_C
Rhodochrosite | Level 12

when there are no obs, you could create an "all-missing" obs

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