# How to show Total Count in numbers from Bar Chart

**URL:** <https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399>\
**Category:** Kibana\
**Created:** [May 13, 2020, 9:23am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399 "2020-05-13T09:23:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![lohit18](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lohit18/32/64131_2.png) [@lohit18](https://discuss.elastic.co/u/lohit18)\
**Post date:** [May 13, 2020, 9:23am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/1 "2020-05-13T09:23:06Z")

</div>

Hello Everyone,

Using Bar chart i want to show Values (Overall count) in chart left side /right side .kindly anyone help me how to do

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57f10410a471b16749e108f1305109ce2b3ef1c0.png)

regards,

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 13, 2020, 1:25pm UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/2 "2020-05-13T13:25:16Z")

</div>

Hi,

You need to create a dashboard or a Canvas workpad to put together those two visualizations together.

---

<div class="post-metadata">

**Author:** ![lohit18](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lohit18/32/64131_2.png) [@lohit18](https://discuss.elastic.co/u/lohit18)\
**Post date:** [May 14, 2020, 4:27am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/3 "2020-05-14T04:27:32Z")

</div>

Hi @jsanz,

I created a dashboard but i didn't get how to merge & get total count values for x axis

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 14, 2020, 9:15am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/4 "2020-05-14T09:15:50Z")

</div>

Sorry I was not fully clear, if I understood well your question, you want to have both a bar chart and a metric with the total count, you can create a dashboard with both, a bar chart, and a metric visualization together like this (using Kibana Flights sample dataset and Elastic 7.7).

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

Is this what you meant?

---

<div class="post-metadata">

**Author:** ![lohit18](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lohit18/32/64131_2.png) [@lohit18](https://discuss.elastic.co/u/lohit18)\
**Post date:** [May 14, 2020, 9:17am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/5 "2020-05-14T09:17:25Z")

</div>

@jsanz, Exactly i want whole count from the left side of bar chart Y-axis

---

<div class="post-metadata">

**Author:** ![lohit18](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lohit18/32/64131_2.png) [@lohit18](https://discuss.elastic.co/u/lohit18)\
**Post date:** [May 14, 2020, 9:26am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/6 "2020-05-14T09:26:25Z")

</div>

@jsanz , Can you help me how to get count as numerical for the bar chart.

regards,

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 14, 2020, 11:04am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/7 "2020-05-14T11:04:13Z")

</div>

Have you tried the `Metric` visualization?, the default aggregation is to show the count, so you literally don't have to do almost anything

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

---

<div class="post-metadata">

**Author:** ![lohit18](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lohit18/32/64131_2.png) [@lohit18](https://discuss.elastic.co/u/lohit18)\
**Post date:** [May 15, 2020, 3:08am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/8 "2020-05-15T03:08:33Z")

</div>

Yes! @jsanz I tried Metric Visualization . I am getting output below like this.  
But I need overall count of all years from the data, Not each year

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

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 15, 2020, 7:23am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/9 "2020-05-15T07:23:02Z")

</div>

just remove the aggregation you added, as I mentioned, literally the defaults of the visualization should give you the desired value

---

<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:** [June 12, 2020, 7:23am UTC](https://discuss.elastic.co/t/how-to-show-total-count-in-numbers-from-bar-chart/232399/10 "2020-06-12T07:23:07Z")

</div>

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