Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikapple
Creator
Creator

flag script in qlikview

 can anyoneplease help

Please find the inline table and requirement

 

PRNOPR_CATEGORY       
         
1rootcause.123       
2sweart       
3123.rootcause       
4qwerty       
5rootcause       
         
         
I Need the fieldflag field as if the PR_CATEGORY is having the value Rootcause then it show has to be Yes else NO,
         
         
if(match(PR_CATEGOR,'*Rootcause*','Yes','No') as PR_ROOTCAUSE_FLAG     
         
         
But I am not getting it        
         
Labels (1)
  • flag

3 Replies
qlikapple
Creator
Creator
Author

Can any one please look into it

BlondeThursday
Contributor III
Contributor III

Is it because the term is "rootcause" in your data but you're looking for "Rootcause"?

Qlik is extremely case sensitive.

jensmunnichs
Creator III
Creator III

Try this:

if(Wildmatch(PR_CATEGOR,'*Rootcause*'),'Yes','No') as PR_ROOTCAUSE_FLAG