An Azure service for ingesting, preparing, and transforming data at scale.
iif (isDate(column1),column1,toString(null()))
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have a date field in my source CSV which has values like
1/1/2021
1/5/2021 02:05:23
N/A
00h:00m:23s
The field datatype on the destination (SQL table) is datetime. For those records that dont look like date or datetime, i want to put the field empty or NULL. Is there a way to accomplish this via a derived column as i'm using a Dataflow for other transformation. So the data into the table should be
1/1/2021 00:00:00
1/5/2021 02:05:23
NULL
NULL
Please could you help on how to accomplish this.
Thank you.
An Azure service for ingesting, preparing, and transforming data at scale.
iif (isDate(column1),column1,toString(null()))