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: 
bharatkishore
Creator III
Creator III

List Box Expression

Dear All,

I have a field called Name: And in that name i have like 10 subfields and i need to display only 3 subfields in a list box..I have given the following expression..

=if(name ='A1' or name ='A2' or name ='A3',name)

In chart dimension it is working fine but when i take in list box it is not working..Can you please help me how to do it.. i need to filter in only list box..

Regards,

Bharat

1 Solution

Accepted Solutions
prajapatiamar38
Creator II
Creator II

Hi.....

Please find the attached Qvw.

Please Refer the  example.

View solution in original post

6 Replies
danieloberbilli
Specialist II
Specialist II

try

=if(match(name,'A1','A2','A3'),name)

amit_saini
Master III
Master III

Bharat,

Two ways:

Script side:

Where match(name,'A1','A2','A3') ;

Front End:

=if(match(name,'A1','A2','A3'),name)

Thanks,

AS

sagarkharpude
Creator III
Creator III

Better to do in a script as below:

if(match(name,'A1','A2','A3'),name) as Name_New


And use this Name_New field in frontend

prajapatiamar38
Creator II
Creator II

Hi.....

Please find the attached Qvw.

Please Refer the  example.

jonathandienst
Partner - Champion III
Partner - Champion III

=Aggr(Only({<name = {'A1', 'A2', 'A3'}>} name), name)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
bharatkishore
Creator III
Creator III
Author

Thanks Amarnath