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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1381 views
  • 0 likes
  • 3 in conversation