Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

lolliedd
New Contributor

Dynamic list box

I only want a list box to appear on the selection of a value in another list box?

i.e ListBox1 contains all the Warehouses

ListBox 2 with Warehouse Locations only appear on the selection of the raw material warehouse

1 Solution

Accepted Solutions
jason_michaelid
Honored Contributor II

Re: Dynamic list box

I would not use a trigger here - they can be difficult to manage.  Instead, consider using a Show Condition on the Warehouse Locations that looks like GetSelectedCount(Warehouses)>0

Hope this helps,

Jason

3 Replies

Re: Dynamic list box

You have to trigger the field in this way:

Go on Settings -> document properties -> triggers

in the field event triggers box select your field and add extion -> external -> set variable

write in the upper box vShow and in the lower box write 1

Now in the script you need to define the varible in this way: LET vShow=0; and reload your document.

The last thing, the secon list box must be conditioned to be shown only if vShow=1 so go in layout -> conditional and write vShow=1

Let me know

jason_michaelid
Honored Contributor II

Re: Dynamic list box

I would not use a trigger here - they can be difficult to manage.  Instead, consider using a Show Condition on the Warehouse Locations that looks like GetSelectedCount(Warehouses)>0

Hope this helps,

Jason

lolliedd
New Contributor

Re: Dynamic list box

Thank you!

Community Browser