# Data table click event

**URL:** <https://discuss.elastic.co/t/data-table-click-event/264443>\
**Category:** Kibana\
**Created:** [February 16, 2021, 2:00pm UTC](https://discuss.elastic.co/t/data-table-click-event/264443 "2021-02-16T14:00:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deeksha39](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@deeksha39](https://discuss.elastic.co/u/deeksha39)\
**Post date:** [February 16, 2021, 2:00pm UTC](https://discuss.elastic.co/t/data-table-click-event/264443/1 "2021-02-16T14:00:50Z")

</div>

Hi Everyone,  
I want to create a data table from kibana that shows aggregate result based on some categorical columns for e.g. aggregation based on zone, country, the city then show aggregation of numerical data for e.g. average age of a particular group like the average age of people of Asia, India, Delhi , then next group etc, when I click on any particular row of that data table it should export all the values of that particular group to a CSV for e.g. if clicked on that row of group Asia, India, Delhi, it should export the data of all people belongs to that group to a CSV

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [February 17, 2021, 1:33pm UTC](https://discuss.elastic.co/t/data-table-click-event/264443/2 "2021-02-17T13:33:19Z")

</div>

I am not sure you can pull that off in a single click.

To export just 1 row of data I think you would need to click `add filter` to each column until you only yield one result, then export to CSV.

---

<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 17, 2021, 1:33pm UTC](https://discuss.elastic.co/t/data-table-click-event/264443/3 "2021-03-17T13:33:24Z")

</div>

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