# Add column to Kibana dashboard that count the number of row

**URL:** <https://discuss.elastic.co/t/add-column-to-kibana-dashboard-that-count-the-number-of-row/221420>\
**Category:** Kibana\
**Created:** [February 28, 2020, 11:49am UTC](https://discuss.elastic.co/t/add-column-to-kibana-dashboard-that-count-the-number-of-row/221420 "2020-02-28T11:49:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseLuisEzquerro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseluisezquerro/32/63524_2.png) [@JoseLuisEzquerro](https://discuss.elastic.co/u/JoseLuisEzquerro)\
**Post date:** [February 28, 2020, 11:49am UTC](https://discuss.elastic.co/t/add-column-to-kibana-dashboard-that-count-the-number-of-row/221420/1 "2020-02-28T11:49:32Z")

</div>

I'm using Kibana 6.8.2 and I want to add a column that will show the number of the row displayed, something like:

Row Country Some data  
1 Greece 100  
2 Italy 50  
3 Germany 8  
...

The thing is that when I order by country or Some data columns, the list is huge and I want to know the position within the table of a specific country for example.

---

<div class="post-metadata">

**Author:** ![cheiligers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheiligers/32/73114_2.png) [@cheiligers](https://discuss.elastic.co/u/cheiligers)\
**Post date:** [February 28, 2020, 11:37pm UTC](https://discuss.elastic.co/t/add-column-to-kibana-dashboard-that-count-the-number-of-row/221420/2 "2020-02-28T23:37:50Z")

</div>

Dear @JoseLuisEzquerro, welcome to the Discuss forum!  
I'm unsure what visualization you're wanting to add a column to in the Dashboard. You would need to consult the documentation for the visualization that you're wanting to add to. If, however, you would like to add the row number to the table view generated in Discover, you might want to look into [scripted fields](https://www.elastic.co/guide/en/kibana/6.8/scripted-fields.html#scripted-fields). Unfortunately, I don't have much experience using scripted fields but I'm certain the docs will guide you through it.

---

<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:** [March 27, 2020, 11:37pm UTC](https://discuss.elastic.co/t/add-column-to-kibana-dashboard-that-count-the-number-of-row/221420/3 "2020-03-27T23:37:51Z")

</div>

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