# Metric\_visualization

**URL:** <https://discuss.elastic.co/t/metric-visualization/190724>\
**Category:** Kibana\
**Created:** [July 16, 2019, 11:49am UTC](https://discuss.elastic.co/t/metric-visualization/190724 "2019-07-16T11:49:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![slovan9](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@slovan9](https://discuss.elastic.co/u/slovan9)\
**Post date:** [July 16, 2019, 11:49am UTC](https://discuss.elastic.co/t/metric-visualization/190724/1 "2019-07-16T11:49:14Z")

</div>

Hello,  
I would like to ask for help. I have twitter data and I would like to sum all followers for unique accounts. However, I need it in the form of Metric visualization (as one number, Kibana visualization). I cannot filter unique records and sum them in this type of visualization. I used Terms but without success and many more. Thanks in advance for the help.

---

<div class="post-metadata">

**Author:** ![Digital](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/digital/32/41054_2.png) [@Digital](https://discuss.elastic.co/u/Digital)\
**Post date:** [July 16, 2019, 2:09pm UTC](https://discuss.elastic.co/t/metric-visualization/190724/2 "2019-07-16T14:09:43Z")

</div>

Hello,

Can you explain your problem with one exemple ?  
It's not really clear.

Thanks

---

<div class="post-metadata">

**Author:** ![Orunacher-Dataviz](https://avatars.discourse-cdn.com/v4/letter/o/ad7895/32.png) [@Orunacher-Dataviz](https://discuss.elastic.co/u/Orunacher-Dataviz)\
**Post date:** [July 17, 2019, 11:57am UTC](https://discuss.elastic.co/t/metric-visualization/190724/3 "2019-07-17T11:57:13Z")

</div>

Are you trying to count all the possible values in your field list ? like having a list of followers and you want to count all followers for instance ? maybe the problem is that you are counting the number of documents where your term match. I don't know if that could help you but maybe you could look at the cardinality of your field corresponding to the name of the account ? after all, everything depends on the way you mapped your index 🤔

---

<div class="post-metadata">

**Author:** ![slovan9](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@slovan9](https://discuss.elastic.co/u/slovan9)\
**Post date:** [July 17, 2019, 12:49pm UTC](https://discuss.elastic.co/t/metric-visualization/190724/4 "2019-07-17T12:49:12Z")

</div>

| Account\_name | no. Of followers |
| --- | --- |
| John\_Wick | 1,000 |
| John\_Wick | 1,000 |
| John\_Wick | 1,000 |
| Peter\_Smith | 5,000 |
| Peter\_Smith | 5,000 |
| Adam\_Johnson | 9,000 |

pls. see example above:  
1.) filter only unique records 1x John\_Wick, 1x Peter\_Smith, 1x Adam\_Johnson  
2.) sum all followers 1000 + 5000 + 9000  
3.) I need it in the form of Metric visualization (as one number) result will be 15000  
4.) maybe the solution is pretty easy but I dont see it 🙂

---

<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:** [August 14, 2019, 12:49pm UTC](https://discuss.elastic.co/t/metric-visualization/190724/5 "2019-08-14T12:49:21Z")

</div>

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