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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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.

Labels (1)
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
MVP
MVP

You can use Wildmatch as well

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