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

Hide Null Values inside List Box ?

Hi;

I would like to hide null values inside list box ?

I researched for properties and functions but i did not find any thing what i can use !!

Please help me...


Thanks in advance

1 Solution

Accepted Solutions
sparur
Specialist II
Specialist II

in ListBox null values suppress automatically. but may be you have empty string or something else... so you can use expression in listbox:

if (Len(YourField) > 0, YourField)

View solution in original post

7 Replies
sparur
Specialist II
Specialist II

in ListBox null values suppress automatically. but may be you have empty string or something else... so you can use expression in listbox:

if (Len(YourField) > 0, YourField)

Not applicable
Author

Thank you...

I try it in list box properties, layout, show condition. But it did not work ?

I get datas from oracle DB and in the database some fields are ampty so i dont want to see any fields which are empty...

This is my main problem ???

Thanks in advance

sparur
Specialist II
Specialist II

Why "Show Condition"?

Open properties of your ListBox, on General tab you should to change option "Field" from your YourField into Expression (on top of drop down list) and paste my expression

sparur
Specialist II
Specialist II

or you can remove such data (with empty field) in the script.

Not applicable
Author

Ok. Sorry...

Its my mistake.

It works correctly thanks again...

sateeshkumar
Creator
Creator

Ya it works fine for not showing null values. but i used this list box field in set analysis to fix the value in text box. so that value is changing by selecting items list box. I need to fix the value in text box with any changes to in list box field.  can anyone help to me to get this.

LearnFreak
Contributor III
Contributor III

Hi,

I have the same issue, but in my case I have a Multibox and when I use this solution nothing changes.

Do you have any other idea for Multibox?