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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Aldemarprins4
Contributor III
Contributor III

IF with No Match

Hello guys, I have the following problem, I have two countries that I want to exclude with an IF NO MATCH THEN, is it possible to do it?

 

Thank

 

Labels (2)
1 Solution

Accepted Solutions
MarcoWedel
MVP
MVP

 

If(not Match(Vcountry,'Colombia','CostaRica'), then this, else that)

View solution in original post

4 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

If you want to exclude data in backend, you can use not match or not wildmatch.

e.g 

Load

Country, CITY, Sales

From[................] where not match(Country,'A','B')

 

If from frontend then use '-='

E.g  Sum({<Country - = {'A','B'}>}Sales)

 

Hope this helps.

 

Thanks,
Ashutosh

Aldemarprins4
Contributor III
Contributor III
Author

Thank  but

I can do the following statement:

 

If(Not match ('Vcountry)'='Colombia',CostaRica'))

MarcoWedel
MVP
MVP

 

If(not Match(Vcountry,'Colombia','CostaRica'), then this, else that)
Aldemarprins4
Contributor III
Contributor III
Author

Thanks a lot