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

Default Selection in qlikview

Hi

I have two list boxes namely Specialty and Facilities Avalible as shown below,

Capture.PNG

I have a requirement where if a Speciality is selected say Allergy&Immunolgy, a Facilites Avalible related to Allergy&Immunology must be selected automatically.

So when i select Allergy and Immunolgy i Expect Facilities Avalible to display as

Capture1.PNG

The same should happen for other items in the Specialty list as well.

So if i select Endocrinology and Metabolism, Facilites Avalible related to it must be selected automatically.

Capture3.PNG

Please help me on this.

Let me know if I am not clear.

Thanks!

14 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

How would you determine which Facility should be selected when a Specialty is selected?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
lironbaram
Partner - Master III
Partner - Master III

hi

you can use a trigger on  the speciality field

and the action will be select possible in facilities field

have a look at the attach example

Anonymous
Not applicable
Author

Any of the related facility can be shown selected by default until the user changes it by selecting a Facility of his/her own from Facility listbox.

Chanty4u
MVP
MVP

Hi,

in listbox u have option please find the image

u can use that option for wvry listbox

Thank u

suresh

qlikmsg4u
Specialist
Specialist

Hi Liron,

In your example I'm unable to change selection to b in F1 listbox, is this a bug?

lironbaram
Partner - Master III
Partner - Master III

hi check the attach file

the trigger will work properly only with one selected value in the F1

field

Anonymous
Not applicable
Author

Thanks for the reply.

I had a look on the application attached by you.

When i select 'a' from F1 list box.

'1,2,3,4' is getting selected in F2 list box.

Capture.PNG

But my expectation is only one value should be displayed as selected.

It can be any of the F2 values related to F1 selection made.

Chanty4u
MVP
MVP

HI

FOR THAT U CAN USE HIDE EXCLUDED OPTION

thank you

Suresh

qlikmsg4u
Specialist
Specialist

It only hides the excluded values not the possible values