Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

list box

=aggr(only({<dept,section=,presentabsent=>}dept),dept)

hi all,

above is my expresson when ever i select the section or presentabsent list box , the dept list box shd all values which shd be active always

that means when ever ection or presentabsent list box the dept list box have exclude the section,

wht is the expression , above i used but it no useful

10 Replies
sunny_talwar

I am not sure I understand what you are trying to get. Would you be able to elaborate a little more?

manoranjan_d
Specialist
Specialist
Author

when ever i select the section or presentabsent list box, the dept list shd always have all values that shd be active. this the dept list shd be independent from the section or presentabsent list box. pls dont tell alternate state, tell suggestions in expression itself

sunny_talwar

So you mean regardless of any selection in section of presentabsent, all values should be available for selection within dept? I guess if not the alternate state, then you need a Island Table.

manoranjan_d
Specialist
Specialist
Author

example if u select the sec1 in the list box the dept list shd have all dept as active, since it show only IT, so the reamining dept such that cse ece shd be active in dept as IT

manoranjan_d
Specialist
Specialist
Author

island is not possile since it dynamic from the table

manoranjan_d
Specialist
Specialist
Author

to exclude the selection i use the below expression but its not working

=aggr(only({<dept,section=,presentabsent=>}dept),dept)

manoranjan_d
Specialist
Specialist
Author

sunny can you reply me

sunny_talwar

Sure bro, what you are trying to do is not possible AFAIK. The only two ways I can think of is to use alternate state or create a dept field which is associated with all combination of Section and PresentAbsent field (Cartesian Product)

manoranjan_d
Specialist
Specialist
Author

can u send me sample file for the (Cartesian Product)