Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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