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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Multiple Fields in a variable count

So I have a variable count that goes:

=count(if([Material Description]='3S',WorkNotification))

How can I write this to add multiple Material Descriptions instead of just one. I have 5 that I want to include in this count.

Please help,

Thanks.

3 Replies
Not applicable
Author

count(if (Match([Material Description], '3S',WorkNotification')).. you can add as many Material Descriptions as you want.

Thanks

maxgro
MVP
MVP

replace material descr

count({$ <[Material Description]={'3S','4S','5S','6S','7S'}>}  WorkNotification)

robert_mika
Master III
Master III

You can use Wildmatch as well

The difference is that you can use '?' & '*' to look for values that are closer to your search value