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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
kamal_sanguri
Specialist
Specialist

how to exclude item in other list - Set Analysis

Hi Experts,

I am stuck in a situation where I need to exclude some items from a selection and those items are in a different list. I dont want to hard code those items in set analysis, as this list is periodically updated..

For Ex:

Table_1:

Item1  Rate

A          15

B           20

C          25

D          30

Table2:

Item2

B1

C

I want to do something like this

sum( {<{Item1} -= {Item2}> Rate}

Thanks,

Kamal

2 Replies
Clever_Anjos
Employee
Employee

sum( {<{Item1} -= P(Item2)> Rate}

sunny_talwar

Try this expression: PFA the qvw for reference

=Sum({<Item1 -= {$(=Concat(Chr(39) & Item2 & Chr(39), ','))}>}Rate)