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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
viveksingh
Creator III
Creator III

Qliksense-Set-analysis with SQL IN() funtion

Hi Experts,

I want to use Sql IN() function along with set-analysis.

[Temp]:

load *

Inline [

NAME,SAL

abc,10

def,20

ghi,30

];

sum({<match(NAME,'abc','def','ghi')>}SAL)

The above expression is not correct. can you please correct the above one?

Thanks,

Vivek

2 Replies
sunny_talwar

Try this:

Sum({<NAME = {'abc','def','ghi'}>}SAL)

Anonymous
Not applicable

Try this

Pick( Match(NAME,'abc','def','ghi'),Sum(SAL),sum(SAL),Sum(SAL))