# Scripted field to display custom metrics in a table visualization

**URL:** <https://discuss.elastic.co/t/scripted-field-to-display-custom-metrics-in-a-table-visualization/135718>\
**Category:** Kibana\
**Created:** [June 13, 2018, 12:31pm UTC](https://discuss.elastic.co/t/scripted-field-to-display-custom-metrics-in-a-table-visualization/135718 "2018-06-13T12:31:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![christophilus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophilus/32/42991_2.png) [@christophilus](https://discuss.elastic.co/u/christophilus)\
**Post date:** [June 13, 2018, 1:19pm UTC](https://discuss.elastic.co/t/scripted-field-to-display-custom-metrics-in-a-table-visualization/135718/2 "2018-06-13T13:19:18Z")

</div>

Hi espogian, I don't think it's possible within our table visualizations. You _may_ be able to do something similar using a filter ratio. See this thread for an example of that:

> [@Data table multiple columns](https://discuss.elastic.co/t/data-table-multiple-columns/134589):
>
> Hi, I have created a data table visualization and i am taking count as metric.Now i want one more column where i wish to take percentage as metric which will give me the percentage of the respective count value for the rows.Is it possible to achieve this in kibana 6.2.2?

Best of luck!

---

_[View the full topic](https://discuss.elastic.co/t/scripted-field-to-display-custom-metrics-in-a-table-visualization/135718)._
