# Total function doesn't work in kibana

**URL:** <https://discuss.elastic.co/t/total-function-doesnt-work-in-kibana/205339>\
**Category:** Kibana\
**Created:** [October 26, 2019, 6:51am UTC](https://discuss.elastic.co/t/total-function-doesnt-work-in-kibana/205339 "2019-10-26T06:51:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Mousavi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammad_mousavi/32/56508_2.png) [@Mohammad\_Mousavi](https://discuss.elastic.co/u/Mohammad_Mousavi)\
**Post date:** [October 26, 2019, 6:51am UTC](https://discuss.elastic.co/t/total-function-doesnt-work-in-kibana/205339/1 "2019-10-26T06:51:39Z")

</div>

Hi, I have a table like this. I wanna have avg of streamed time of all clients, so I add another row with "Group other values in seperate bucket"

 ![Screenshot%20from%202019-10-26%2010-15-37](https://us1.discourse-cdn.com/elastic/original/3X/f/c/fcb43c61c1790c7c9e2614f507c573ddadf09bc6.png)  
I checked the avg but it doesn't create another column, What I'm doing wrong ? Thanx

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [October 28, 2019, 11:02am UTC](https://discuss.elastic.co/t/total-function-doesnt-work-in-kibana/205339/2 "2019-10-28T11:02:30Z")

</div>

Hi @Mohammad_Mousavi  
the total function doesn't add a new column, but add a row below the table showing the sum/avg/min/max etc of all the value on each column. In your case this will result in a value that will average the sum of bytes by the number of user\_ids you have in the first column.  
The value should appear in below the column like in this screenshot

 ![16](https://us1.discourse-cdn.com/elastic/original/3X/4/5/45300b786c58146e1e2995f8314b234b969f7e5b.png)

---

<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:** [November 25, 2019, 11:02am UTC](https://discuss.elastic.co/t/total-function-doesnt-work-in-kibana/205339/3 "2019-11-25T11:02:31Z")

</div>

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