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

Hello,

 

I used to use proc tabulate to get a range of dates in a normal format (e.g., 2018/07/18).  

 

proc tabulate data=mydata;  

    var dob; 

    table dob,   

        n nmiss (min max)*f=mmddyy10.; 

run;  

 

Now, I started using SAS Enterprise Guide and I am looking for pull-down menus (if there are any) to get this information. 

Could anybody tel me how to get a range of dates in a normal format?  

Thank you, 

 

Yoko 

1 ACCEPTED SOLUTION

Accepted Solutions
TomKari
Onyx | Level 15

Yes, it's a little obscure. In "Summary Tables", the second tab lets you "draw" your table by dragging your variables and the statistics. When you've done that (I've attached what mine looks like), right click on the "max" header, select "Data Value Properties", select the "Format" tab, and pick the desired date format.

 

Tom

SASTemp.png

View solution in original post

3 REPLIES 3
TomKari
Onyx | Level 15

The "Summary Tables" task will let you do exactly this.

 

Once you have the table set up the way you like it, right-click on the "max" box and select "Data Value Properties". There's a "Format" tab, where you can pick the desired date format.

 

Tom

Yoko
Obsidian | Level 7

Hi Tom,

 

I got a table and right-clicked on the max.  But, there was no option for formatting.  Could you explain what you mean by the table set up?  I guess you did not mean the actual table to click...

 

Thank you, 

 

Yoko

TomKari
Onyx | Level 15

Yes, it's a little obscure. In "Summary Tables", the second tab lets you "draw" your table by dragging your variables and the statistics. When you've done that (I've attached what mine looks like), right click on the "max" header, select "Data Value Properties", select the "Format" tab, and pick the desired date format.

 

Tom

SASTemp.png

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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