# How to display a table to multiple count metric in the same table?

**URL:** <https://discuss.elastic.co/t/how-to-display-a-table-to-multiple-count-metric-in-the-same-table/123783>\
**Category:** Kibana\
**Created:** [March 13, 2018, 5:06pm UTC](https://discuss.elastic.co/t/how-to-display-a-table-to-multiple-count-metric-in-the-same-table/123783 "2018-03-13T17:06:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![proximator](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@proximator](https://discuss.elastic.co/u/proximator)\
**Post date:** [March 13, 2018, 5:06pm UTC](https://discuss.elastic.co/t/how-to-display-a-table-to-multiple-count-metric-in-the-same-table/123783/1 "2018-03-13T17:06:28Z")

</div>

Hi,

I need to show a summary of some errors with their count in Kibana.

| Error | Count |
| --- | --- |
| Error1 | 123 |
| Error2 | 123 |

I have already search query of error1 and error2, I can display them as metric count widget but I am expecting to have many error types, so I want a table to summarise all of them.

Any idea how I can achieve this?  
I am trying to use Markdown widget, but I don't know how to attach a metric count to it.

Cheers

---

<div class="post-metadata">

**Author:** ![vinodr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinodr/32/28759_2.png) [@vinodr](https://discuss.elastic.co/u/vinodr)\
**Post date:** [March 14, 2018, 1:09am UTC](https://discuss.elastic.co/t/how-to-display-a-table-to-multiple-count-metric-in-the-same-table/123783/2 "2018-03-14T01:09:34Z")

</div>

@proximator You could use a 'Data Table' Visualization with the following options:  
Metrics --\> Count  
Split Rows --\> Aggregation: Filters  
**Filter 1:** error1 search query **;**  **Filter 1 Label:** Error1  
**Filter 2:** error2 search query **;**  **Filter 2 Label:** Error2

 ![Data%20Table](https://us1.discourse-cdn.com/elastic/original/3X/0/8/086913bd3625cd49227030393e49ce7acf7a62d2.PNG)

---

<div class="post-metadata">

**Author:** ![proximator](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@proximator](https://discuss.elastic.co/u/proximator)\
**Post date:** [March 15, 2018, 5:23pm UTC](https://discuss.elastic.co/t/how-to-display-a-table-to-multiple-count-metric-in-the-same-table/123783/3 "2018-03-15T17:23:54Z")

</div>

Thanks a lot, it solves my problem

---

<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:** [April 12, 2018, 5:24pm UTC](https://discuss.elastic.co/t/how-to-display-a-table-to-multiple-count-metric-in-the-same-table/123783/4 "2018-04-12T17:24:09Z")

</div>

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