Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

List Box

Hi Friends

I have following List Box

Dept

Bran

City

Region

In the above list box I want to hide Dept and Region in one of my sheet and display only

Bran

City    in my list box.

Pls tell me how I can do it

1 Solution

Accepted Solutions
IAMDV
Luminary Alumni
Luminary Alumni

Really!? that's very strange. Anyway, here is the attachment. See the second Listbox which contains only A & B.

I hope this helps!

Cheers,

DV

View solution in original post

8 Replies
IAMDV
Luminary Alumni
Luminary Alumni

You can write the expression in the List Box as show below:

=IF(ListBox= 'Bran' OR Name = 'City', ListBox)

Cheers,

DV

www.QlikShare.com

ecolomer
Master II
Master II

Put in Box List an expresion with:

=if(not Match(Var,'Dept','Region'),Var)

upaliwije
Creator II
Creator II
Author

Thanks both

But none of the the methods work. If you can pls upload a sample QV document

israrkhan
Specialist II
Specialist II

what is your field name, which has these values?

or can you show share a sample doc or screen shots, what you have done...?

but this expression works for me..

=if(FiledName = 'Bran' or FieldName = 'City', FieldName, Null)..


put your field name in the expression....

Hope it helps...

IAMDV
Luminary Alumni
Luminary Alumni

Really!? that's very strange. Anyway, here is the attachment. See the second Listbox which contains only A & B.

I hope this helps!

Cheers,

DV

upaliwije
Creator II
Creator II
Author

Thanks All

PrashantSangle

Hi,

Is the

Dept

Bran

City

Region

are values of one List box or they are different list boxes??

If they are values of one List Box then

You have to create List Box With expression like

If(not wildmatch(Fieldname,'*Dept*','*Region*'),FieldName).

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
MarcoWedel

Hi,

another one:

=Aggr(Only({1-<Type={'Dept','Region'}>} Type), Type)

QlikCommunity_Thread_132228_Pic1.JPG.jpg

QlikCommunity_Thread_132228_Pic2.JPG.jpg

hope this helps

regards

Marco