Forum Discussion
Borghi
8 years agoAdvocate I
Converting Text into Date
Hi folks, The dataset I am currently work has a text field called [Last Executed On]. It contains "0" or a date in the following format: yyyyMMddhhmmss. How can I convert it to a Date (or Da...
- 8 years ago
Yes, the first double quotes of the table name must be preceded by a hash: #
#"Inserted T" = Table.TransformColumns(#"_RSALL_FULL_PERNR-USERS",{{"Last Executed On", each if _ = "0" then null else Text.Insert(_,8,"T"), type text}}),
MarcelBeug
8 years agoCommunity Champion
Yes, the first double quotes of the table name must be preceded by a hash: #
#"Inserted T" = Table.TransformColumns(#"_RSALL_FULL_PERNR-USERS",{{"Last Executed On", each if _ = "0" then null else Text.Insert(_,8,"T"), type text}}),Borghi
8 years agoAdvocate I
It worked!
Thank you so much!