I have the following logic to store the date in BI_StartDate as below:
- If
UpdatedDate
is not null thenBI_StartDate=UpddatedDate
- ELSE
BI_StartDate
takesEntryDate
value , if theEntryDate
is null thenBI_StartDate=CreatedDate
- If the
CreatedDate
IS NULL thenBI_StartDate=GetDATE()
I am using a derived column as seen below:
ISNULL(UpdatedDateODS) ? EntryDateODS : (ISNULL(EntryDateODS) ? CreatedDateODS :
(ISNULL(CreatedDateODS) ? GETDATE() ))
I am getting this error:
The expression "ISNULL(UpdatedDateODS) ? EntryDateODS : (ISNULL(EntryDateODS) ? CreatedDateODS :(ISNULL(CreatedDateODS) ? GETDATE() ))" on "Derived Column.Outputs[Derived Column Output].Columns[Derived Column 1]" is not valid.