Skip to main content
Announcements
Announcing Qlik Talend® Cloud and Qlik Answers™ to accelerate AI adoption! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Multiple selection

Hi all, I need to make a multiple selection.

I have several listboxes and I need that when I select a value in the first, in the second listbox appears the same value selected in green.

For example:

       list box 1     list box 2

       John           John

        anne            Tony

        Louis           Michael

If I select John in First listbox, John appears selected in the second. In green both

Thanks so much!!

1 Solution

Accepted Solutions
sunny_talwar

See if this helps (PFA)

Use a trigger from the document properties's Trigger tab

Best,

Sunny

View solution in original post

10 Replies
sunny_talwar

Are these two list boxes field connected to each other or are they totally unlinked? If unlinked then you can use Triggers to achieve what you are trying to do.

Best,

Sunny

sunny_talwar

See if this helps (PFA)

Use a trigger from the document properties's Trigger tab

Best,

Sunny

Not applicable
Author

Hi,

I think if those John from two list Boxes are the same field if there are the same try to load them differently before you use them

buzzy996
Master II
Master II

as sunny said,if u already linked both the tables if those are cmign frm different tables..u no need to do anythig..i.e qv default functionality,else u have to go with triggers.

Not applicable
Author

Hi Sunindia,

my fields are COD_SM and COD_AM and this is the model tables.

Thanks!multiple selection.png

buzzy996
Master II
Master II

seems no need to use triggers here,some problem with data model..is't possible to share ur .qvw?

Not applicable
Author

Yes @shiva qlik of course. Here you are!

Thanks!

buzzy996
Master II
Master II

can u replace this script & load.. and see..

LOAD

COD_AM,

COD_SM,

COD_AM as COD_AM1,

FEC_INI_VIG as FIV_AM_SM,

FEC_FIN_VIG as FFV_AM_SM

FROM [$(vPath)QV_AM_SM.qvd] (qvd);

and use COD_AM1 as ur list box instituted of COD_AM from front end,if u need u can rename from front end the attribute name.

MarcoWedel

Hi,

as there seem to be no cases in your table where COD_SM is related to more than one distinct value of COD_AM, what do you want to achieve with this function ?

regards

Marco

QlikCommunity_Thread_xxxxx_Pic1.JPG