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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
omid5ive
Creator II
Creator II

compare listbox value

hi

i have two list box with this value:

first listbox=A,B,C,D

2nd listbox=B,C,E

i want to have third list box with the value of diffrence from first and second listbox

third listbox=A,D

how can i fix this problem?

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

It's not quite clear to me what you want. See attached qvw. It has two approaches, one using alternate states and one using three fields.


talk is cheap, supply exceeds demand
omid5ive
Creator II
Creator II
Author

thank you

but i want to have list box with diffrece between first and second table

for example:

in first table we have this values :    A,B,C,D

in 2nd table we have this values: B,C,D,E

i want joint value

B,C,D

Anonymous
Not applicable

I have the same question.

In SQL this can be done by UNION [ALL], INTERSECT, MINUS.

Having two listboxes, 'the result' of the two fields should be calculated dynamically.

Eg:

F1: A, D

F2: B, D

F3(UNION): A,B,D

F3(INTERSECT): D

F3(F1 MINUS F2): A

Any idea ?