Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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!