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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Measures containing a certain value

Hello

I am looking to count the number of instances which contain a certain value.

i.e. Count the number of instances which contain 'S0101'

Thank you

3 Replies
ogster1974
Partner - Master II
Partner - Master II

Something like

Count({<instance={'S0101'}>} instancekey)

Anonymous
Not applicable
Author

That was it but needed to add a * after the S0101

Count({<instance={'S0101*'}>} instancekey)

That counted all the ones which contained S0101

Thank you

ogster1974
Partner - Master II
Partner - Master II

Glad I could help, The wildmatch function can be useful around this topic too.

Regards

Andy