Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ksasidhars
Creator
Creator

List Selection - Single Select, Optional

Hi,

Caould anyone let me know how can we achieve a list box to set for a single selection and optional. I can see only option as 'Always One Selected Value', but it make me to force some value everytime. I'm looking to select if needed and maximum one at a time.

Regards,

Sasi

1 Solution

Accepted Solutions
swuehl
MVP
MVP

I don't think that there is a standard option for that.

You could try creating an (additional) action for the select in field trigger with an action select in field for the same field

[Chart Select: Tab]

, and as search string, something like (taken your last post's field):

=if(GetSelectedCount([Chart Select: Tab])<=1,'=[Chart Select: Tab]','')

This will allow no selection and selecting one field value, if you try to select more than one field, the selection will be cleared.

Hope this helps,

Stefan

View solution in original post

4 Replies
swuehl
MVP
MVP

I don't think that there is a standard option for that.

You could try creating an (additional) action for the select in field trigger with an action select in field for the same field

[Chart Select: Tab]

, and as search string, something like (taken your last post's field):

=if(GetSelectedCount([Chart Select: Tab])<=1,'=[Chart Select: Tab]','')

This will allow no selection and selecting one field value, if you try to select more than one field, the selection will be cleared.

Hope this helps,

Stefan

jagan
Luminary Alumni
Luminary Alumni

Hi,

Do the following

Document Properties - > Triggers -> Field Event Triggers -> select the Field -> On Select (Add Actions) -> Add Select in Field Action -> give Field name in first text box and =Only(FieldName) in second textbox.

Check the attachment for the solution, implemented the same.

Regards,

Jagan.

Anonymous
Not applicable

Hi

     Hope the following attached file will be helpful for your problem

Regards

Ashok

Not applicable

perfect! Worked for me. Simple way to do it.