Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to show selected values for a field in a list box?

Hi,

I have a Filed name "ListOfChanges" in the List box as a filter. The field has many many values under it from which I just need to show a few.

So how can I achieve this? Showing only a few values for Selection instead of ALL the values under the particular field.

TIA

6 Replies
swuehl
MVP
MVP

You could create a calculated field like

=If(Match(ListOfChanges,'Change1','Change2'), ListOfChanges)

(enter in <expression> field on general tab)

Anonymous
Not applicable
Author

No, Doesn't Work, No change.Attaching a Screenshot of where I entered the Expression. Hope I am entering it at the right place. I entered the expression at two places but no change.Capture1.JPGCapture2.JPG

Anil_Babu_Samineni

You can create like this too

=If(Wildmatch(ListOfChanges,'RequiredValue1','RequiredValue2','RequiredValue3',....), ListOfChanges)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

No. Still able to see all the values under the field name.

swuehl
MVP
MVP

Select <expression> from the field dropdown on general tab, and input the calculated field expression.

Anonymous
Not applicable
Author

Yup, works. Thanks a Lot