Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
onkarkulkarni
Creator
Creator

Match instead of if condition

Hello there,

I am trying to use 'Match' instead of 'if' . I have Region and country column in my data.

Condition is :

if Region in ('Asia','Africa',Europe') and Country in ('India','China') then 'Asia Pacific'

Could you please suggest how can I use 'match here ?

I tried with : =if (match([Region],'Asia','Africa',Europe and (match([Country],'India','China')), 'Asia Pacific'))     Its not working

Thanks in advance.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

=if (match([Region],'Asia','Africa','Europe') and match([Country],'India','China'), 'Asia Pacific')


Note the bracket corrections.

View solution in original post

2 Replies
tresesco
MVP
MVP

Try like:

=if (match([Region],'Asia','Africa','Europe') and match([Country],'India','China'), 'Asia Pacific')


Note the bracket corrections.

onkarkulkarni
Creator
Creator
Author

Thanks Tresesco .. It was silly mistake.. Its working fine