An Azure service for ingesting, preparing, and transforming data at scale.
Try using $$ instead of $0
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
data coming in is as yyyy-MM-dd
I'd like to have an expression where
if the date value < 2010-01-01 then leave as is
if the date value > 2010-01-01 then format it to dd/MM/yyyy
This is what I have but it gives null if the date > 2010-01-01
iif((toDate(toString(byName($0)),Config#lookup($0).SourceFormat)) < (toDate('2010-01-01')),toDate(toString($$)),toDate(toString(toTimestamp(toString(byName($0)), Config#lookup($0).SourceFormat) , 'dd/MM/yyyy')))
An Azure service for ingesting, preparing, and transforming data at scale.
Try using $$ instead of $0