Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

List box default to no value

How to default the list box to show empty and the values will show up only when the selection is made in another list box ?

Thank you  very much.

1 Solution

Accepted Solutions
sunny_talwar

May be something like this:

=If(GetSelectedCount(Field1) > 0, Field2)

UPDATE: Sample attached

View solution in original post

6 Replies
sunny_talwar

May be something like this:

=If(GetSelectedCount(Field1) > 0, Field2)

UPDATE: Sample attached

jonathandienst
Partner - Champion III
Partner - Champion III

I suggest that you post a sample qvw file with some sample data and the list boxes required. Explain more clearly about what you mean by "when the selection is made in another list box". Be as specific as possible so that the suggestions are more relevant to your question.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sunny_talwar

Although there is another way to just not show the list box when Field1 has nothing selected. Attached is the updated qvw.

Not applicable
Author

You can try with Hide & Show condition on the LB object. But what you need, the user selected same value other than LB ?  As Jonathan said, can you please explain your requirement clearly with sample qvw file

Not applicable
Author

Thank you Sunny.This is exactly what I wanted.Thank you.

sunny_talwar

Awesome