Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
kalyanamharish
Contributor III
Contributor III

Moving from IF statement to Pick&Match .

Hello All,

I was wondering how can i write the below IF statement using Pick & Match/Wildmatch functions.

=IF(CountryFlag=0 and CountryToggle=0,EmpID,
If(CountryFlag=1 and CountryToggle=1,EmpID))

 

Thank you. 

Labels (2)
1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

Hi,

Just try with

=pick(match(CountryFlag&Countrytoggle,00,11),EmpId,EmpId)

View solution in original post

2 Replies
Qlik1_User1
Specialist
Specialist

please share the sample data and complete scenario.

sergio0592
Specialist III
Specialist III

Hi,

Just try with

=pick(match(CountryFlag&Countrytoggle,00,11),EmpId,EmpId)