Tableau is reading my dates wrong. I have 2 columns, Date and number for each day. The date format is “yyyymmdd” i.e. (20160617) and per day number is integer. I am fetching this data directly from SQL server and my problem is, tableau is reading my dates wrong. So I tried DATEPARSE() to convert my date. My DATEPARSE function is : DATEPARSE(“yyyymmdd”,”Date”) , now after using DATEPARSE function, I get NULL for my dates. Can anyone please help me why I get NULL for dates, my query returns 30-day data which is divided into per day count. Sample after running the query on SQL
Date Per day number 20160617 215674
Tableau does not accept this date format and I applied DateParse(), which I guess is returning string since my date is null. I would ideally like to get the correct date so I can apply a trend line on my data. Thanks in advance. Cheers!