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

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