Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
suhascool1
Contributor III
Contributor III

Create a New on basis existing column

 

Hi,

Existing Closed Date column on basis of this column we need to create new column Status.

Date value is available then status column Value shows Yes

if Date value is blank then status column value shows Not.

Closed_Date
01-02-2024
 
13-01-2024
14-01-2024
 
14-01-2024

 

Final Result :

Closed_Date Status
01-02-2024 Yes
  Not
13-01-2024 Yes
14-01-2024 Yes
  Not
14-01-2024 Yes
Labels (1)
1 Solution

Accepted Solutions
ali_hijazi
Partner - Master II
Partner - Master II

if you want to accomplish this in the script, then you need to write something like this:
if( not trim(Closed_Date) = '' and not isnull(Closed_Date), 'Yes','Not') as Status

I can walk on water when it freezes

View solution in original post

3 Replies
ali_hijazi
Partner - Master II
Partner - Master II

if you want to accomplish this in the script, then you need to write something like this:
if( not trim(Closed_Date) = '' and not isnull(Closed_Date), 'Yes','Not') as Status

I can walk on water when it freezes
suhascool1
Contributor III
Contributor III
Author

thank u

Pallav
Contributor II
Contributor II

If(Isnull(Closed_Date),'NOT','YES')