csv - DATEPARSE in Tableau turning all months into January -


i have been connecting tableau csv data source. have 2 date columns. when tell tableau date columns imports entirety of both columns nulls. tried import them strings , create calculated date column out of each dateparse.

i ran ([close time] string csv)

dateparse("mm/dd/yyyy hh:mm:ss",[close time])  

and named column "close_time_dt"

the result was:

close time

  1. '05/30/2013 11:20:50'
  2. '05/30/2013 18:01:53'
  3. '06/05/2013 02:02:49'

close_time_dt

  1. '1/30/2013 11:20:50 am'
  2. '1/30/2013 6:01:53 pm'
  3. '1/5/2013 2:02:49 am'

clearly wrong, tried

dateparse("m/d/yyyy hh:mm:ss", [close time]) 

and got same result. in advance help

i had similar problem. source csv format dates date/month/year (07/01/2015). when used dateparse function first entered

dateparse("dd/mm/yyyy",[servdate]) 

but did not handle month , make july or in 1 case put dates in same month (january). worked use:

dateparse("d/m,y",[servdate]) 

Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

css - SVG using textPath a symbol not rendering in Firefox -

c - gcc compile error: unknown type name 'File' -