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

Potential Savings Calculation issue

Hi Guru's,

i have Employee wise Spend Amount.i want to calculate Potential Savings Based on Spend.

i want to trace employees who Spend more than 100$ in a Day.

Formula:Sum(Amount)-(Count(Employee Whose amount >100)*100)

Example:employee E1 spent only one time more than 100$,

So, Actual Calculation Would Be 101-(1*100)=1

Potential Saving should Show 1$ for E1.

Sum(Amount) for E1,01/01/2016 Should be 101 instead of 111.

how to achieve sum(Amount) =101

thanks,

Joshi

1 Solution

Accepted Solutions
Anil_Babu_Samineni

You should use this for Sum

Sum({<Amount = {'>100'}>}Amount)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni

You should use this for Sum

Sum({<Amount = {'>100'}>}Amount)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful