# How can I present two different factors in the same row?

**URL:** <https://discuss.elastic.co/t/how-can-i-present-two-different-factors-in-the-same-row/340419>\
**Category:** Kibana\
**Tags:** dashboard\
**Created:** [August 9, 2023, 5:20am UTC](https://discuss.elastic.co/t/how-can-i-present-two-different-factors-in-the-same-row/340419 "2023-08-09T05:20:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IANIAN](https://avatars.discourse-cdn.com/v4/letter/i/77aa72/32.png) [@IANIAN](https://discuss.elastic.co/u/IANIAN)\
**Post date:** [August 9, 2023, 5:20am UTC](https://discuss.elastic.co/t/how-can-i-present-two-different-factors-in-the-same-row/340419/1 "2023-08-09T05:20:37Z")

</div>

Hi. I'm trying to visualize the data below.  
What do I do if I want to plot two different factors in the same column on each graph?

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

---

<div class="post-metadata">

**Author:** ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)\
**Post date:** [August 30, 2023, 4:05pm UTC](https://discuss.elastic.co/t/how-can-i-present-two-different-factors-in-the-same-row/340419/2 "2023-08-30T16:05:13Z")

</div>

Hello @IANIAN,

You might consider adding a bucket aggregation to split rows as shown in the image below:

 ![Screen Shot 2023-08-30 at 12.01.21 PM](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9a6b4dd985fdad862b36d13959cfcf3932a7f208.png)

In this case, I am using a [terms aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html). The field could be the one that contains keywords "A" and "B", for example.

---

<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:** [September 27, 2023, 4:05pm UTC](https://discuss.elastic.co/t/how-can-i-present-two-different-factors-in-the-same-row/340419/3 "2023-09-27T16:05:21Z")

</div>

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