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: 
shekhar_analyti
Specialist
Specialist

How to remove data from a List box based on Data selected in other listbox ?

Hi All ,

I have Two list boxes with name as folows
1)  Select Date

2)  Result Date

Both uses same field from table .

My requirement is that when user selects a value in Select Date List box , then that particular value should be removed from Result Date list box but when user deselects a value then from Select Date List box then that value should re appear or retained in Result Date List Box .

Thanks & Regards

Shekar 

List Box.PNG

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

It can be made to work if you select at least one value in [Select Date]. Otherwise the Result Date list will be empty because clicking the Clear button will mean "everything selected".

View solution in original post

4 Replies
awhitfield
Partner - Champion
Partner - Champion

Why do you want to do this? What are you actually trying to achieve?

Andy

shekhar_analyti
Specialist
Specialist
Author

I just wanted to know , if this can be done ? Answer to this will lead me to a much needed solution ...

awhitfield
Partner - Champion
Partner - Champion

Sounds like you actually want to display all values except those selected in a chart perhaps, rather than in another list box??

May be like this?

In which case you could use set analysis to display values whose dates are exclude by your selection, e.g.

Sum({<Date = e(Date)>}Sales)

as the expression in the chart show??

Andy

Peter_Cammaert
Partner - Champion III
Partner - Champion III

It can be made to work if you select at least one value in [Select Date]. Otherwise the Result Date list will be empty because clicking the Clear button will mean "everything selected".