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

Hi Community,

 

This is a simple one but please help anyway

 

- I have imported FB data into SAS Visual Analytics - and now the publisheddatetimestr variable in the imported datatable is an CATEGORY variable of the text form:

 

"March 7, 2016 9:32:53 PM GMT"

 

I expect that by creating the right formula in "New Calculated Item" builder in VA I can convert this textstring into a date (or datetime) variable that I can do date hierarchies on - but I have not managed yet to do the needed PARSING.

 

Can anyone help me on this simple one, please?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Jeove74
Obsidian | Level 7

Sorry for bothering again - I came up with an workable solution in 2 steps - but any better one step solution is most welcome.

View solution in original post

2 REPLIES 2
Jeove74
Obsidian | Level 7

Sorry for bothering again - I came up with an workable solution in 2 steps - but any better one step solution is most welcome.

MichelleHomes
Meteorite | Level 14

Well done in working out the solution and thanks for sharing it too! (I was in the process of posting a similar approach.) Smiley Happy

 

Kind Regards,

Michelle

//Contact me to learn how Metacoda software can help keep your SAS platform secure - https://www.metacoda.com

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1945 views
  • 1 like
  • 2 in conversation