Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to display only certain values in a table?

Hello,

I am so new to this, and need your help.

This is my table

 

CarsCountryModels
BMWGER12
TOYOTAJPN20
HONDAJPN

18

NISSANJPN15

I need to display information for just BMW and Toyota. How do I do that ?

CarsModels
BMW12
TOYOTA20

I tried =if(match(Cars,'BMW', 'TOYOTA', ), Cars,'OTHER')

and added Expression sum(Models)

The problem with that one is that i don't want to display any other values but with my calculated dimension I get OTHER row. I don't want to show anything else.

Thanks a lot

27 Replies
arulsettu
Master III
Master III

try this

if(match(Cars,'BMW', 'TOYOTA' ), Cars)

sunny_talwar

I would recommend using set analysis:

=Sum({<Cars = {'BMW', 'TOYOTA'}>}  Models)

tresesco
MVP
MVP

Try removing an extra comma, like:

if(match(Cars,'BMW', 'TOYOTA'), Cars,'OTHER')

Chanty4u
MVP
MVP

try this

if(match(crs,'bmw','toyota'),cars)


Not applicable
Author

It looks like your calculated dimension has a comma after 'TOYOTA'. Can you please erase that and try?

Not applicable
Author

This did not work and produced the following error:

//Error in calculated dimension

Not applicable
Author

This produces the following table. Instead of other, it creates "-" sign.  I need to get rid of -/33 result.

CarsModels
BMW12
TOYOTA20
-33
Not applicable
Author

I need results without "OTHER"

Not applicable
Author

This produces the following table. Instead of other, it creates "-" sign.  I need to get rid of -/33 result.

CarsModels
BMW12
TOYOTA20
-33