Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
stabben23
Partner - Master
Partner - Master

Is null handling with 3 dates

Hi,

I have a problem: this is my table

2014-06-16_0814.png

This should be handled in this way, pseudocode:

if(isnull(date1),date2,date1) and if( isnull(date1 and date 2),date3) as Finaldate

I do this in the script, does anyone have a quick solution?

1 Solution

Accepted Solutions
Not applicable

use alt function.

View solution in original post

5 Replies
Not applicable

Explore Alt function.

Not applicable

use alt function.

stabben23
Partner - Master
Partner - Master
Author

Hi Ramkumar,

the alt function was the trick,

thanks a lot for really quick answer.

Not applicable

Suppose every date field has 6 digits, then you can try this expression: Left(date1 & date2 & date3, 6)

stabben23
Partner - Master
Partner - Master
Author

works in my testcase but that is not a stable solution.