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-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!

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
  • 1499 views
  • 1 like
  • 2 in conversation