# Kibana table combining aggregations

**URL:** <https://discuss.elastic.co/t/kibana-table-combining-aggregations/274993>\
**Category:** Kibana\
**Created:** [June 4, 2021, 2:17pm UTC](https://discuss.elastic.co/t/kibana-table-combining-aggregations/274993 "2021-06-04T14:17:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfenman](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@sfenman](https://discuss.elastic.co/u/sfenman)\
**Post date:** [June 4, 2021, 2:17pm UTC](https://discuss.elastic.co/t/kibana-table-combining-aggregations/274993/1 "2021-06-04T14:17:25Z")

</div>

Hello,

Using Kibana, I have created a table visualization like this:

`Url | Name | Count | Duration`

Now, based on the name field, I want to aggregate some other metrics from different documents and add them to this table. Is it possible to do it using kibana or should I use something custom?

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [June 8, 2021, 6:48pm UTC](https://discuss.elastic.co/t/kibana-table-combining-aggregations/274993/2 "2021-06-08T18:48:45Z")

</div>

Elasticsearch and Kibana don't join data by a common field value in that way. You'll need to flatten your data into single documents for this table.

---

<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 6, 2021, 6:49pm UTC](https://discuss.elastic.co/t/kibana-table-combining-aggregations/274993/3 "2021-07-06T18:49:36Z")

</div>

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