# Kibana visualization table control

**URL:** <https://discuss.elastic.co/t/kibana-visualization-table-control/354709>\
**Category:** Kibana\
**Tags:** kql-kibana-query-language\
**Created:** [March 5, 2024, 8:43am UTC](https://discuss.elastic.co/t/kibana-visualization-table-control/354709 "2024-03-05T08:43:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jyoti\_panse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jyoti_panse/32/117700_2.png) [@jyoti\_panse](https://discuss.elastic.co/u/jyoti_panse)\
**Post date:** [March 5, 2024, 8:43am UTC](https://discuss.elastic.co/t/kibana-visualization-table-control/354709/1 "2024-03-05T08:43:34Z")

</div>

I have created one table control in kibana visualization. The table has three column.  
I want to create fourth column which will be having row wise % of 3rd column value.

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06a5e153627da5b0135fdd749095654ae503a6d7.png)

Ex. 44.4 is 40.3% of 100.8  
Ex. 11.8 is 10.7% of 100.8

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [March 6, 2024, 1:54pm UTC](https://discuss.elastic.co/t/kibana-visualization-table-control/354709/2 "2024-03-06T13:54:22Z")

</div>

Hi @jyoti_panse

I think you can reproduce that with Lens formula with something like:

```auto
myMetric() / overall_sum(myMetric())

```

I've used `myMetric` here as a generic reference to any metric formula (i.e. `count()`, or even stuff more complex like `(sum(...) + sum(...))`. The important bit is the additional part: `/ overall_sum( <place the same metric here> )`.

---

<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:** [April 3, 2024, 1:54pm UTC](https://discuss.elastic.co/t/kibana-visualization-table-control/354709/3 "2024-04-03T13:54:38Z")

</div>

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