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: 
Not applicable

if condition and not using match function to combine the fields

Hi all,

I have some data

status   close_flag

closed            -1

>closed          -1

closed-app     -1

cancelled        -1

open                 0

completed        0

if(close_flag = -1,if((wild match('closed', '>closed', 'closed-app', 'cancelled'),'closed', status),status) I am using this condition to merge the all closed fields (close_ flag = -1)  into one common field is closed. this is the hardcoded code . only this  close_flag = -1 is correct the field  merge to the closed field how to merge  without using wild match, match functions .

is it possible plz tell me......urgent 

3 Replies
MK_QSL
MVP
MVP

IF(close_flag = -1, 'Close',status) as status

MarcoWedel

if(close_flag,'closed',status) as Closed




MarcoWedel

plz close thread......urgent



thanks


regards


Marco