How To Convert a String to a Date in Tableau - Tableau in Two Minutes

preview_player
Показать описание
In this video we parse a string date into a Tableau date, using the "date" "dateparse" and "left" functions to convert an incorrectly formatted string into a working and date you can manipulate easily. This type of conversion often has to be done when you download data from a data warehouse directly into a text file, and end up with a date that has a timestamp attached.

The data is a simple set of GPA data cooked up specifically for this demonstration.
Рекомендации по теме
Комментарии
Автор

Thank you so much Penguin Analytics. Saved my day, with the left() function.

teenamary
Автор

IN my Tableau is not available the Dateparse function and with the function date I got an error :(

humbertomunozrojas
Автор

What if the Month Data column is only Month Number only and no year or day? For example, 1 is January. I can't convert 1 into January when using DATENAME or DATEPARSE.

MissTopDJ
Автор

i want to convert 01/01/2020 12:00:00 AM into January 2020
can you help me?

sujitha
Автор

Hello, I've a dataset in which the days of week are mentioned in SUN, Sat fashion(strings format), I wish to create a line chart for which providing a date is necessary can you please guide me how to convert or use sun, mon as date??

susheshsingh
Автор

If date is in this format "20170703", how to change it to date format

ankitadutta