Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

one selected value only in a listbox

Hi experts,

is it possbile to modifiy the behaviour of a listbox concerning the "always one selected value" option ?

In my case, one user has to have this option activated, another user not.

Is it possible to realize it ?

Thanks for your help

2 Replies
kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi,

1. I think it is possible in List box layout Conditional option.

2. Use 2 list box for bassed on user type.

See below screen short

Untitled.png

Gysbert_Wassenaar

Not with only one listbox. You'll have to use two listboxes like Kumar says. Enable the Conditional option for the listboxes and enter and expressions like =if(OSUser()='John',1,0) for the listbox for John and =if(OSUser()='Jill',1,0) for Jill's listbox. If you're using section access the use QVUser() instead of OSUser() or you can add a flag field (for example FlagAlwaysOneSelectedValue) to the section access table and use that field instead in the conditional expression: =[FlagAlwaysOneSelectedValue].


talk is cheap, supply exceeds demand