# To sum the variables of some selected elements

**URL:** https://discourse.paraview.org/t/to-sum-the-variables-of-some-selected-elements/10422
**Category:** ParaView Support
**Tags:** python
**Created:** [September 28, 2022, 8:52am UTC](https://discourse.paraview.org/t/to-sum-the-variables-of-some-selected-elements/10422 "2022-09-28T08:52:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Chambernan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@Chambernan](https://discourse.paraview.org/u/Chambernan)
#### Post date: [September 28, 2022, 8:52am UTC](https://discourse.paraview.org/t/to-sum-the-variables-of-some-selected-elements/10422/1 "2022-09-28T08:52:53Z")

</div>

Hello! In the ParaView, there are two parts, and each part includes some elements. I want to calculate the sum force of these selected elements. What should I do? Thank you!

![微信图片_20220928164746](https://discourse.paraview.org/uploads/default/original/2X/2/253823b33ed3da4e862e35cb1007a59b48d3d342.png)

I want to sum the force variables of these nodes.

 ![1664418918004](https://discourse.paraview.org/uploads/default/original/2X/d/d82cd16c4a6c97047bebb8ba53ef20d66a57757c.png)

---

<div class="post-metadata">

### Author: ![mersoj](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mersoj/32/5848_2.png) [@mersoj](https://discourse.paraview.org/u/mersoj)
#### Post date: [September 29, 2022, 6:52pm UTC](https://discourse.paraview.org/t/to-sum-the-variables-of-some-selected-elements/10422/2 "2022-09-29T18:52:00Z")

</div>

You should be able to use “Extract Subset” then “integrate variables” or use the calculator.

---

<div class="post-metadata">

### Author: ![Chambernan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@Chambernan](https://discourse.paraview.org/u/Chambernan)
#### Post date: [September 30, 2022, 1:24am UTC](https://discourse.paraview.org/t/to-sum-the-variables-of-some-selected-elements/10422/3 "2022-09-30T01:24:15Z")

</div>

Thank you! I will try it.
