Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

Show a value on List Box when nothing selected

Hi,

I have a list box with couple of values.

ListBox

Americas

Other Countries

I am presenting the list box in a drop down. I have a request to show 'Global' on the drop down if nothing is selected or if both are selected.

Any idea on how can I do that.

Thxs.

Alec

Labels (1)
3 Replies
its_anandrjs
Champion III
Champion III

In the properties of the list box write script

Eg:-

=if(GetSelectedCount(ListBoxName)=0,'Global',ListBoxName)

ashfaq_haseeb
Champion III
Champion III

Hi,

Assume that global is one of the value in your list box.

Look at the attachment.

Regards

ASHFAQ

alec1982
Specialist II
Specialist II
Author

Hi,

The expression above doesn't show any value.

and Global is not one if the items within the list box. I am trying to show if nothing is selected or everything is selected show Global as value