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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum: All but

Hi,

I've got some syntax problems when Im trying to sum all cleints but one (Client A), no matter the current selections.

Right now my expression looks like this:

Sum( {<~Client = {“*Client A*”}>} [Settlement amount] )

Sample attached.

Any ideas?

Kind Regards,

Olle

Labels (1)
1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi,

Try below

To Show all except A

====================

sum( {<Client -= {'Client A'}>} [Settlement amount] )

To show only A

===========

sum( {<Client = {'Client A'}>} [Settlement amount] )


Regards

ASHFAQ

View solution in original post

3 Replies
veidlburkhard
Creator III
Creator III

Hi Olle,

use this expression: sum( {<Client = {'Client A'}>} [Settlement amount] )

This will work...

Burkhard

ashfaq_haseeb
Champion III
Champion III

Hi,

Try below

To Show all except A

====================

sum( {<Client -= {'Client A'}>} [Settlement amount] )

To show only A

===========

sum( {<Client = {'Client A'}>} [Settlement amount] )


Regards

ASHFAQ

Not applicable
Author

Thanks Ashfaq!