Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Subtraction in set

Hello,

I want to subtract 2  fields at front end using set and want to multiply the result with another field.

Eg

There are 2 qtys say Actual and budget qty. I want to subtract budget qty from Actual qty. and result will be multiply by price

Say Actual qty is 10, Budget is 8 and price is 20.

I want (10-8)*20 as result

Please help!!!!!

Thank you..

4 Replies
sunny_talwar

May be this

Sum((Actual-Budget)/Price)

sunny_talwar

Or this

(Sum(Actual) - Sum(Budget))/Sum(Price)

Not applicable
Author

Thanks..It works..

oknotsen
Master III
Master III

If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post) and Helpful Answers (found under the Actions menu under every post).

If not, please make clear what part of this topic you still need help with .

May you live in interesting times!