Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

hOW TO Restrict values in listbox?

i have list box contains below values

fy 2001

fy 2002

fy

now i want remove 'fy' 

output

fy 2001

fy 2002

Thnks

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

In the list box instead of field use expression (is at the bottom of the fields list)

and write: mid(myField,3)

where myField is the field containing fy 2001 ...

Gysbert_Wassenaar

Try using an expression instead of the field name for the listbox: =if(MyField='fy',null(),MyField). Replace MyField with the name of the field you want to show in the listbox. If the value you want to suppress contains spaces you can try =if(trim(MyField)='fy',null(),MyField)


talk is cheap, supply exceeds demand
Sokkorn
Master
Master

Hi,

You can get your job done by using expression in your list box. I have two types. Let try

     1. =Aggr(Only({1<Field -= {'fy'}>} Field),Field)

     2. =If(Field='fy',Null(),Field)

Regards,

Sokkorn