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

not wildmatch in calculated dimension

I have the following  calculated dimension to display only 'sales', 'corporate service', 'advertising & marketing' and 'logistics' in my bar graph: However I am left with a resultant bar which is all other values. How do I only show these 4 values and nothing else ?

=if(not wildmatch(tax_category, '*Sales*', '*Corporate Service*', '*Advertising & Marketing*', '*Logistics*'), null(),tax_category)

1 Solution

Accepted Solutions
sunny_talwar

Remember to check 'Suppress When Value Is Null' on the dimension tab

View solution in original post

4 Replies
sunny_talwar

May be this:


=If(WildMatch(tax_category, '*Sales*', '*Corporate Service*', '*Advertising & Marketing*', '*Logistics*'), tax_category)

sunny_talwar

or

=If(Match(tax_category, 'Sales', 'Corporate Service', 'Advertising & Marketing', 'Logistics'),tax_category)

sunny_talwar

Remember to check 'Suppress When Value Is Null' on the dimension tab

Not applicable
Author

Perfect - that's what I was missing.