BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
OS2Rules
Obsidian | Level 7

Hi All:

Here's a tricky one - I would like to use PROC TABULATE to create an empty table.  Basically, my user wants the overnight job to build a table that they can use for data entry during the day.

Problem is that when all data is missing PROC TABULATE deletes the page (I use ODS to output the page with ExcelXP).  If I put 1 lone value in the table, PROC TABULATE works fine - all cells are empty except 1.

Is there a way to do this with no actual data for the table cells?

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Have you tried creating a custom format for that single value such that it displays a single space? If that doesn't work you might try a format that assigns a null character. In the Windows world that is done using the numeric keypad holding down the ALT key and typing 255 and releasing ALT.

View solution in original post

2 REPLIES 2
ballardw
Super User

Have you tried creating a custom format for that single value such that it displays a single space? If that doesn't work you might try a format that assigns a null character. In the Windows world that is done using the numeric keypad holding down the ALT key and typing 255 and releasing ALT.

OS2Rules
Obsidian | Level 7

Excellent!

Added a format to the reporting variable with low-high=' ', then used that on the tabulate.

Thanks again.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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