Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Null value in a Date column updated with other date column

Hello QV Experts,

I have two columns DateReceived & DateApproved.

In DateApproved column having few null values, so that i need to update those DateApproved column with (DateReceived + 5).

Can you please suggest me.

Appreciate your prompt response.

Thanks,
Sasi

3 Replies
sunny_talwar

May be this:

LOAD DateReceived,

          Date(If(Len(Trim(DateApproved)) = 0, DateReceived + 5, DateApproved)) as DateApproved

FROM ....

Not applicable
Author

Thanks Boss. It worked for me.

sunny_talwar

Great