BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi

My report has a date column which shows Dots . when the date is missing.

How can I make them as NULL or blank


Sanjay
3 REPLIES 3
Peter_C
Rhodochrosite | Level 12
suppose your dates are formatted in DATE9. format.
Then create your own date format with no dot (just blank) for missing.
[pre]* run this code to create mdate9 format ;
proc format ;
value mdate .=' ' other = [date9.] ;
run;[/pre]
Then use format mdate. instead of date9.

If you were using a different format than date9., then put your other format inside the []


good luck

PeterC
prholland
Fluorite | Level 6
Sunil,

You can change the display of all missing values, whether character or numeric, to blank with the following OPTIONS statement:


OPTIONS MISSING=" ";


........Phil
deleted_user
Not applicable
You can also use computed columns -recode a column in filter and query.

Regards,
Loccita

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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