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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exclude in Set Analysis

Hi

I want to exclude specific GL Codes from Invoice Amount.

For e.g.

sum({$<[GL Code]=E({'ABC',XYZ'})>}[Invoice Amount])

Any idea how I can achieve this?

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Try

=sum({$<[GL Code] -= {'ABC',XYZ'} >}[Invoice Amount])

and ignore the bug in the expression editor highlighting the minus equal as error.

View solution in original post

2 Replies
swuehl
Champion III
Champion III

Try

=sum({$<[GL Code] -= {'ABC',XYZ'} >}[Invoice Amount])

and ignore the bug in the expression editor highlighting the minus equal as error.

Not applicable
Author

Worked. Thanks