Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
hopkinsc
Partner - Specialist III
Partner - Specialist III

Alternate States question

Hi all,

i have a question about Alternate States, i have a List box that is in 'StateB', this obviously doesnt filter when other selections are made in other list boxes. does anyone know of a way this can be done?

eg.

if i have list boxes for...

Product Group

Product Category

Product

and Product is in StateB and the rest are in the default state, then i want Product to still respond to selections made from the other 2 List Boxes..

i have attached a QVW

thanks in advance

1 Solution

Accepted Solutions
swuehl
MVP
MVP

If you want to filter the list box, but keep the selections in different states, you can try a field expression like

=Aggr(Only({$}Product),Product)

View solution in original post

5 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

That is what is the Alternate State, which means a selection of one set shouldnt change the selection of other set.

If you want the selections to be made, then simple make then part of the same group (Set).

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
adamdavi3s
Master
Master

Yes it is possible to do this, I would suggest maybe using a couple of field triggers and the 'copy states' action... this one is sneaky as it only appears when you actually have an alternate state defined...

or maybe an expression in the listbox, I'll pull something together

swuehl
MVP
MVP

If you want to filter the list box, but keep the selections in different states, you can try a field expression like

=Aggr(Only({$}Product),Product)

adamdavi3s
Master
Master

Beat me to it!

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

thanks Stefan!