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

Convert if to pick Match

Hi Guys,

I have a requirement where I want to convert my if statement to pick (match()). But I am confused on how we do it.

My Expression:

if(GetSelectedCount(Country)=0, sum(revenue),
if(GetSelectedCount(country)>0 and GetSelectedCount(state)=0,Sum(Sales),
if(GetSelectedCount(State)>0,count(Employees)
)
))

1 Reply