BookmarkSubscribeRSS Feed
RADAGBE9
Fluorite | Level 6

I'm trying to create an excel Pivot Table from a SAS dataset located in  permanent library. The issue I'm having is the Date column is not converting correctly. It gives me a warning: 

"Date and time values will not be converted."

When I continue, it creates a pivot table but the date column changes to meaningless values.

 

Any assistance on this please?

 

Thanks

 

3 REPLIES 3
FredrikE
Rhodochrosite | Level 12

Is it the same if you just export the data as a table, not a pivot?

 

If so you can create a pivot from the table in excel instead?

 

//fredrik

RADAGBE9
Fluorite | Level 6

I was trying to avoid the row limitation in excel and that's why I decided to keep my file in SAS and build the pivot table off of it.

 

Thanks

KatS_SAS
SAS Employee

It sounds like you were opening the SAS data set directly from your local file system.   In order to keep date and/or time values formatted in pivot tables, you need to open it from a SAS library, either defined in SAS Management Console or a simple LIBNAME statement in the SAS Programs window. 

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

Discussion stats
  • 3 replies
  • 2381 views
  • 0 likes
  • 3 in conversation