# Retrieve the sum of count of string fields

**URL:** <https://discuss.elastic.co/t/retrieve-the-sum-of-count-of-string-fields/245778>\
**Category:** Kibana\
**Created:** [August 20, 2020, 1:59pm UTC](https://discuss.elastic.co/t/retrieve-the-sum-of-count-of-string-fields/245778 "2020-08-20T13:59:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ranu\_shekhar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranu_shekhar/32/50134_2.png) [@ranu\_shekhar](https://discuss.elastic.co/u/ranu_shekhar)\
**Post date:** [August 20, 2020, 1:59pm UTC](https://discuss.elastic.co/t/retrieve-the-sum-of-count-of-string-fields/245778/1 "2020-08-20T13:59:02Z")

</div>

Hi,

I want to retrieve the sum of the count of string fields in bar chart. Is it possible to do it in Kibana visualisations.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/8/f89eff84397ecdf8933ccb7f60de56a31059e379.png)

Here I want one more bar chart that will show the cummulative sum of all fields.

---

<div class="post-metadata">

**Author:** ![myasonik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/myasonik/32/62369_2.png) [@myasonik](https://discuss.elastic.co/u/myasonik)\
**Post date:** [August 20, 2020, 6:13pm UTC](https://discuss.elastic.co/t/retrieve-the-sum-of-count-of-string-fields/245778/2 "2020-08-20T18:13:27Z")

</div>

A metric visualization would probably be the best way to represent a single count.

It might help to think of it as creating a new visualization from the same data, rather than trying to have one visualization "read" another.

---

<div class="post-metadata">

**Author:** ![ranu\_shekhar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranu_shekhar/32/50134_2.png) [@ranu\_shekhar](https://discuss.elastic.co/u/ranu_shekhar)\
**Post date:** [August 21, 2020, 3:58am UTC](https://discuss.elastic.co/t/retrieve-the-sum-of-count-of-string-fields/245778/3 "2020-08-21T03:58:57Z")

</div>

Hi Michail,

Metric visualisation is also not working as it is not giving cummulative sum of all fields together.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/0/b093a7f0b6eec14e30cb87b8124c5453fc5a099a.png)  
This is just counting the sum for each individual field only.

Thanks

---

<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:** [September 18, 2020, 3:59am UTC](https://discuss.elastic.co/t/retrieve-the-sum-of-count-of-string-fields/245778/4 "2020-09-18T03:59:01Z")

</div>

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