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

Announcements
Check out our latest virtual session where BARC Fellow, Doug Laney, highlighted the opportunities data monetization can offer enterprises. Watch here.
cancel
Showing results for 
Search instead for 
Did you mean: 
jayaseelan
Creator III
Creator III

Subtract Two Rows using expression

Hi Experts,

I need to subtract the two rows and the result should be feed to another column.

I have attached my Data in excel, Please any one give me the solution for attached data.

Capture.PNG

thanks,

1 Solution

Accepted Solutions
devarasu07
Master II
Master II

Hi,

Refer to the attached sample output. tks

View solution in original post

5 Replies
swuehl
MVP
MVP

Try a chart inter record function, Above():

=Rangesum( Value, -Above(Value) )

sunny_talwar

In case you have more than Value for each Month, you might need to add Sum() or Avg() or whatever you expression is for value

=RangeSum(Exp4Value, -Above(Exp4Value))

jayaseelan
Creator III
Creator III
Author

Thanks for your valuable reply

But using above expression i did't getting my result. can you please give me a example .qvw or .qvf use the data which i have attached.

devarasu07
Master II
Master II

Hi,

Refer to the attached sample output. tks

jayaseelan
Creator III
Creator III
Author

Thanks for replied everyone got the output.