# Sum of count of record

**URL:** <https://discuss.elastic.co/t/sum-of-count-of-record/296481>\
**Category:** Kibana\
**Created:** [February 7, 2022, 2:07pm UTC](https://discuss.elastic.co/t/sum-of-count-of-record/296481 "2022-02-07T14:07:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![meyer1](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@meyer1](https://discuss.elastic.co/u/meyer1)\
**Post date:** [February 7, 2022, 2:07pm UTC](https://discuss.elastic.co/t/sum-of-count-of-record/296481/1 "2022-02-07T14:07:16Z")

</div>

Hello everyone, I need help with a little thing.

In a table graph, I would also like to display a "total" line with the sum of the numbers on the far right.

 ![Capture Table kinana pour somme](https://us1.discourse-cdn.com/elastic/original/3X/1/0/10c051de99451ea878f9c0a6085e9b94e14c494d.png)

On this image for example I would like to have this line at the level of the blue line like this "sum": "sum of count of record"

Is it possible to do it? If so, please help me!

thank you

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sholzhauer/32/110282_2.png) [@sholzhauer](https://discuss.elastic.co/u/sholzhauer)\
**Post date:** [February 7, 2022, 3:14pm UTC](https://discuss.elastic.co/t/sum-of-count-of-record/296481/2 "2022-02-07T15:14:49Z")

</div>

Hi,

Yes this is possible.  
In the table options on the right in Lens click on "Count of records"

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/c/6caaaeebc8fa7c2c74ff50ae663e861d7d16f127.png)

And for the option "Summary Row" select "Sum".  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/8/88024d5e9fdadc574f9078a96f9dd3c4c352b1b4.png)

---

<div class="post-metadata">

**Author:** ![meyer1](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@meyer1](https://discuss.elastic.co/u/meyer1)\
**Post date:** [February 7, 2022, 4:08pm UTC](https://discuss.elastic.co/t/sum-of-count-of-record/296481/3 "2022-02-07T16:08:51Z")

</div>

Thanks for your answer, it works perfectly!

---

<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:** [March 7, 2022, 4:09pm UTC](https://discuss.elastic.co/t/sum-of-count-of-record/296481/4 "2022-03-07T16:09:15Z")

</div>

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