Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SUM IF - need to add number only if they are negative

I am working on the table "Software Maintenance Inflation (Balance)" See attached qvw.

We want to show how much is left in our budget item we call Inflation.  I need to subtract from the BLI inflation all the (budget_amt - PO_Amt) that are negative.  In simple math:

Column 1

total of BLI = INFL

Column 2

-sum(budget_amt - PO_Amt)) ---only where Budget_Amt - PO_Amt is negative

Column 3

Balance = Column 1 - Column 2

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

HI

have a look at the attach example

View solution in original post

2 Replies
lironbaram
Partner - Master III
Partner - Master III

HI

have a look at the attach example

Not applicable
Author

Thank you , yes.  That worked.  I just need to add Col 1 with Col 2, as Col 2 is negative.