Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Check two fields for contents if match enter text into another field

IF(WildMatch(Country,'*United States*'),'Referencible' )AS [Action]


AND


IF(WildMatch(Item Desc,'*Population*'),'Referencible' )AS [Action]

 

I want to combine the syntax above into one statement that checks Country field for United States and Item Desc field for Population. If both conditions are true the text ‘Referencible’ will be entered into the field Action for that record.  If not true the text 'N/A' will be entered into the field Action for that record.  Can you help?

1 Solution

Accepted Solutions
rubenmarin

Hi John, try with:
IF(WildMatch(Country,'*United States*') and WildMatch(Item Desc,'*Population*'),'Referencible','N/A')AS [Action]

View solution in original post

2 Replies
rubenmarin

Hi John, try with:
IF(WildMatch(Country,'*United States*') and WildMatch(Item Desc,'*Population*'),'Referencible','N/A')AS [Action]
m_woolf
Master II
Master II

Maybe:

IF(WildMatch(Country,'*United States*') and WildMatch(Item Desc,'*Population*'),'Referencible','N/A')AS [Action]