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: 
priyarane
Specialist
Specialist

List box data

Hi Experts,

I have to remove particular data from listbox like below

Dim1

0

50

100

150

250

800

and I want to remove only 50 from Listbox

Dim1

0

100

150

250

800

Thank you


1 Solution

Accepted Solutions
Gysbert_Wassenaar

Use an expression =if(Dim1 <> 50, Dim1) as field for the listbox


talk is cheap, supply exceeds demand

View solution in original post

6 Replies
Gysbert_Wassenaar

Use an expression =if(Dim1 <> 50, Dim1) as field for the listbox


talk is cheap, supply exceeds demand
priyarane
Specialist
Specialist
Author

Thank you Gysbert

Not applicable

Hi !

Try with the match function :

where match(Dim1, 50) = 0 - It will keep all values except 50

if you want to add values it's very simple : match(Dim1, 50, 'Value2', 'Value3') = 0 (if it is text values place them between quotes)

if want to work by inclusion do '>0', it will keep only the values of the list.

mightyqlikers
Creator III
Creator III

Hi Priya,

use below expression in list box

=if(not Match(DIM,'50'),DIM)

Regards

Gamzee

priyarane
Specialist
Specialist
Author

Hi Marie,

Even its working perfect like this

=

if(match(Dim1,50)=0,Dim1)


priyarane
Specialist
Specialist
Author

Hi Gamzee,

Its woriking