BookmarkSubscribeRSS Feed
Elliott
Obsidian | Level 7

I am working on SAS on Linux using SAS EG or Batch, I am generating a report with ODS outputting to an excel sheet and the date in the data set is date9. but when I output using ods with or without a style tag when I filter in excel it only see it as text.

 

This is the line I am using   style(column)  = [tagattr='format:mm/dd/yyyy']

 

In the filter dropdown it just shows each date, not like year then you can expand to month and day.

 

I have searched and tried all suggestions but still am not getting the filter to be for date.

 

Any assistance will be greatly appreciated.

 

Thanks,

Elliott

2 REPLIES 2
Tom
Super User Tom
Super User

Please provide a program that reproduces the issue.  Either provide data in the form of a data step or use one of the SASHELP datasets.

Reeza
Super User
Make sure to apply a SAS format to it as well, ie format=mmddyyd10.;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 777 views
  • 0 likes
  • 3 in conversation