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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
asknyldz
Contributor III
Contributor III

Excluding Sum

Hi everyone,

My Data is;

ClientTypeAmount
ABCACTUAL100
DEFBUDGET200
GHIACTUAL250
JKLACTUAL150
MNOBUDGET300

and My formula is;

sum({<TYPE={'ACTUAL'}>}AMOUNT)

Result = 500

My question is;

I want to sum Actual with Excluding "GHI" client. How can i reformula this.

Result Should be = 250 (ABC+JKL)

Thank you

1 Solution

Accepted Solutions
vincent_ardiet
Specialist
Specialist

Hi,

sum({<TYPE={'ACTUAL'}>-<CLIENT={'GHI'}>}AMOUNT)

View solution in original post

4 Replies
vincent_ardiet
Specialist
Specialist

Hi,

sum({<TYPE={'ACTUAL'}>-<CLIENT={'GHI'}>}AMOUNT)

sunny_talwar

Or this:

=Sum({<Type = {'ACTUAL'}, Client = e({<Client = {'GHI'}>})>} Amount)

asknyldz
Contributor III
Contributor III
Author

Thanks for solutions, that's great.

But i have challenge. I want to sum Actual with Excluding more than 1 client. GHI and JKL

What is the formula?

sunny_talwar

May be this:

=Sum({<Type = {'ACTUAL'}, Client = e({<Client = {'GHI', 'JKL'}>})>} Amount)


or

=Sum({<Type = {'ACTUAL'}>-<Client={'GHI', 'JKL'}>}Amount)