Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exclude amount from Total

Hi,

I'm trying to add an expression into my chart that shows the sum of Actual Amount which excludes the items that relate to a specific ledger account (324010). I've tried the following;

SUM({$<~[GL Account]={324010}>}[Actual Month])

and

SUM({$<[Actual Month]={"*"}-{324010}>}[Actual Month])

but each time my chart shows the Total of the actual amount without subtracting the amount relating to 324010 - is there a way of doing this please?

Thanks,

Caroline

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Have you tried

SUM({$<[GL Account] -= {324010}>} [Actual Month])

View solution in original post

3 Replies
swuehl
MVP
MVP

Have you tried

SUM({$<[GL Account] -= {324010}>} [Actual Month])

danieloberbilli
Specialist II
Specialist II

or like this for current selection excluding GL-Account 324010:

SUM({$-1<[GL Account]={324010}>}[Actual Month])   

preminqlik
Specialist II
Specialist II

please check the expression that you have written

correct expression is SUM({$<[GL Account]={"*"}-{324010}>}[Actual Month])