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: 
Anonymous
Not applicable

Restrict What Shows in List Box


Hi

I have 3 types of suppliers (A, B, & C).  I have a tab in an application where I only want to see information relating to supplier types A & B which I have done with set analysis. However I have a list box of supplier names which shows all the suppliers regardless of the type.  How can I restrict it to show only types A & B?

Thanks

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi,

Check this.

Regards

ASHFAQ

View solution in original post

8 Replies
Anonymous
Not applicable
Author

Hi,

Try this in calculated expression of field in list box:

=if(Supplier<>'C', Supplier)

Marc.

Anonymous
Not applicable
Author

I've now got 2 columns, one with all suppliers and the other with dashes where the supplier type = C

ashfaq_haseeb
Champion III
Champion III

Hi,

Check this.

Regards

ASHFAQ

Anonymous
Not applicable
Author

Hi,

Check list boxes and table charts from attached file.

Hope it helps.

Marc.

Anonymous
Not applicable
Author

This doesn't quite work as I want to restrict the list of [Suppliers] by the field [Supplier Type]

If I use

if ( [Supplier Type] = 'C' , Supplier )

then I still get all the suppliers.  Am I missing something?

Thanks

Anonymous
Not applicable
Author

This doesn't quite work as I want to restrict the list of [Suppliers] by the field [Supplier Type]

If I use

if ( [Supplier Type] = 'C' , Supplier )

then I still get all the suppliers.  Am I missing something?

Thanks

Anonymous
Not applicable
Author

Adian,

Please fins attached in my last post.

Marc.

ashfaq_haseeb
Champion III
Champion III

HI,

Are both of them connected?

If yes then it should work.

Can you post sample data.

Regards

ASHFAQ