BookmarkSubscribeRSS Feed
Amber_Nicole94
Obsidian | Level 7

Pictured in the attachment is my summary table, created using the wizard in SAS Enterprise Guide. In my data set, the Time fields are all formatted to look like 03:08:12, 12:23:36, 19:12:46, etc. However, when I show them in the Summary Table as AVG's they lose their time formatting. How can I alter the format in the Time variables so they show in the origional time format and look like the examples listed above?

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

Post your data or some of it in the form of a datatep, most users in here will not download files 🙂

BrunoMueller
SAS Super FREQ

Hi

 

In the Summary Table wizard page 2, bottom right, this is where you can specify a format like TIME8.

 

If you need to have different formats depending on the column, you have to use just the Summary Tables.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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