# Data Table multiple fields

**URL:** <https://discuss.elastic.co/t/data-table-multiple-fields/313370>\
**Category:** Kibana\
**Created:** [August 31, 2022, 3:04pm UTC](https://discuss.elastic.co/t/data-table-multiple-fields/313370 "2022-08-31T15:04:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![frederico](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@frederico](https://discuss.elastic.co/u/frederico)\
**Post date:** [August 31, 2022, 3:04pm UTC](https://discuss.elastic.co/t/data-table-multiple-fields/313370/1 "2022-08-31T15:04:08Z")

</div>

Hello,

I want to create a table where I display top values for multiple fields  
What I currently have:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/6/96b60157898165bf68d4a91c7babfb68251a5e27.png)

This would be fine if I'd only two fields, however I intend to use more (+8) and having a column for each is not the desired solution  
With this being said, is it possible to have only 2 columns where the first display the values for the various fields, and the second one the count of instances for that same values

Thank you,  
Frederico

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [September 1, 2022, 5:50am UTC](https://discuss.elastic.co/t/data-table-multiple-fields/313370/2 "2022-09-01T05:50:59Z")

</div>

Hey in Lens table you can have top values for multiple different fields (up to 4)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f749bf1dbe347020d5bcbf015685b196bc036a47.png)  
This is available from 8.1+ [[Lens] Add Multi terms support to Top Values by dej611 · Pull Request #118600 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/118600)

---

<div class="post-metadata">

**Author:** ![frederico](https://avatars.discourse-cdn.com/v4/letter/f/4af34b/32.png) [@frederico](https://discuss.elastic.co/u/frederico)\
**Post date:** [September 1, 2022, 2:06pm UTC](https://discuss.elastic.co/t/data-table-multiple-fields/313370/3 "2022-09-01T14:06:32Z")

</div>

Thank you for your answer,

I believe we may have different versions of Elastic, mine is v7.11.2 and looks a bit different than yours.

When I go Lens -\> Data Table this is what I see:

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

I dont have the option to select more than one field. What I can do it's to break it down by configuration but the outcome is not satisfactory, as it shown in the image from the initial post

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/5/45b3e77529fde5a1e5e92c2c9f0b9092c98e8498.png)

Do you think this is related with my version of Elastic?

Thank you,  
Frederico

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [September 1, 2022, 3:19pm UTC](https://discuss.elastic.co/t/data-table-multiple-fields/313370/4 "2022-09-01T15:19:34Z")

</div>

Yes unfortunately as I mentioned above the mutlifields support is available from 8.1 and above

---

<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 29, 2022, 3:20pm UTC](https://discuss.elastic.co/t/data-table-multiple-fields/313370/5 "2022-09-29T15:20:29Z")

</div>

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