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

Set Analysis Count question

Hi, I have an expression like this.

  

='Total Number of Delivered Assets without CC: ' &  Count( {$<[CCConfirmed]={'N','U'},[CCValid]={'N','U'},[DisplayStatus]={'Completed','Delivered'}>} AssetId )

Currently only the assets with CCConfirmed with 'N' or 'U' and CCValid status of 'N' or 'U' are being counted

Instead I only want to count them if it is either of the condition.

CCConfirmed = 'N' or 'U'

or

CCValid = 'N' or 'U'

Any help will be appreciated. Thanks

1 Solution

Accepted Solutions
Not applicable
Author

Thanks. That worked.

View solution in original post

4 Replies
Not applicable
Author

='Total Number of Delivered Assets without CC: ' &  Count( {$<[CCConfirmed]={'N','U'}>+<[CCValid]={'N','U'},[DisplayStatus]={'Completed','Delivered'}>} AssetId )

Not applicable
Author

Hi, thanks for your response. This one is now showing the count for only the first two fields and not considering displaystatus at all.

Not applicable
Author

Okay, then try this:

='Total Number of Delivered Assets without CC: ' & 

Count( {$<[CCConfirmed]={'N','U'},[DisplayStatus]={'Completed','Delivered'}

>+<

[CCValid]={'N','U'},[DisplayStatus]={'Completed','Delivered'}>} AssetId )

Not applicable
Author

Thanks. That worked.