# "having count" in bar/pie/table chart

**URL:** <https://discuss.elastic.co/t/having-count-in-bar-pie-table-chart/237190>\
**Category:** Kibana\
**Created:** [June 15, 2020, 10:09pm UTC](https://discuss.elastic.co/t/having-count-in-bar-pie-table-chart/237190 "2020-06-15T22:09:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gofbor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gofbor/32/46467_2.png) [@gofbor](https://discuss.elastic.co/u/gofbor)\
**Post date:** [June 15, 2020, 10:09pm UTC](https://discuss.elastic.co/t/having-count-in-bar-pie-table-chart/237190/1 "2020-06-15T22:09:30Z")

</div>

Hi,

Is it possible to make a chart with aggregation(avg or min) per filed\_bucket where count of field\_bucket \> 100 ? It's like having count in SQL.

BR.

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [June 17, 2020, 10:42am UTC](https://discuss.elastic.co/t/having-count-in-bar-pie-table-chart/237190/2 "2020-06-17T10:42:45Z")

</div>

Hi,

I don't think it is possible in the visualizations itself but you might be interested in the [Canvas](https://www.elastic.co/guide/en/kibana/current/canvas-tutorial.html) UI. In Canvas, you can create visualiations like charts but you can use SQL queries for transforming the data - including "group by" and "having".

Best regards  
Wolfram

---

<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:** [July 15, 2020, 10:42am UTC](https://discuss.elastic.co/t/having-count-in-bar-pie-table-chart/237190/3 "2020-07-15T10:42:46Z")

</div>

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