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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count all something when a value is not ...

Hi,

We normally use Count({$<Field={'Value'}>}something)

How about count all something when the Field is NOT 'Value'.

Is there any all-in-one expression instead of reaching the result through straightforward multiple calculations.

Thanks.

Labels (1)
1 Solution

Accepted Solutions
surender_mehta
Contributor II
Contributor II

Hi,

You can first count all the values and then subtract from all to the selective values

e.g.

=count({<,Field={"*"}-{"Value"}>}TxnID).

Try this , hope will work

regards

Surender Mehta

View solution in original post

2 Replies
surender_mehta
Contributor II
Contributor II

Hi,

You can first count all the values and then subtract from all to the selective values

e.g.

=count({<,Field={"*"}-{"Value"}>}TxnID).

Try this , hope will work

regards

Surender Mehta

Not applicable
Author

Works fine.

Thanks.