# Help for sum

**URL:** <https://discuss.elastic.co/t/help-for-sum/156884>\
**Category:** Kibana\
**Created:** [November 15, 2018, 2:04pm UTC](https://discuss.elastic.co/t/help-for-sum/156884 "2018-11-15T14:04:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Verdugo\_Gonzalo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/verdugo_gonzalo/32/37680_2.png) [@Verdugo\_Gonzalo](https://discuss.elastic.co/u/Verdugo_Gonzalo)\
**Post date:** [November 15, 2018, 2:04pm UTC](https://discuss.elastic.co/t/help-for-sum/156884/1 "2018-11-15T14:04:37Z")

</div>

Hi, I'm new to kibana.  
How can I get the sum of these results?  
I need sum A + B

 ![Screenshot_2018-11-15%20Suma%20ISP%20-%20Kibana](https://us1.discourse-cdn.com/elastic/original/3X/7/2/72549ba580cac001ffdc6b360eb783f14c3ac587.png)

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [November 16, 2018, 4:11am UTC](https://discuss.elastic.co/t/help-for-sum/156884/2 "2018-11-16T04:11:07Z")

</div>

HI  
You must use scripted field, create a new field, and then in that field you will have the sum of a + b of each data. Then when you discover data or do some graph only select the data that where you need the sum.  
[https://www.elastic.co/guide/en/kibana/current/scripted-fields.html](https://www.elastic.co/guide/en/kibana/current/scripted-fields.html)

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 14, 2018, 4:11am UTC](https://discuss.elastic.co/t/help-for-sum/156884/3 "2018-12-14T04:11:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
