# Datatable - display computed value from previous column

**URL:** <https://discuss.elastic.co/t/datatable-display-computed-value-from-previous-column/202992>\
**Category:** Kibana\
**Created:** [October 10, 2019, 9:45am UTC](https://discuss.elastic.co/t/datatable-display-computed-value-from-previous-column/202992 "2019-10-10T09:45:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gokul_raj/32/48717_2.png) [@Gokul\_Raj](https://discuss.elastic.co/u/Gokul_Raj)\
**Post date:** [October 10, 2019, 9:45am UTC](https://discuss.elastic.co/t/datatable-display-computed-value-from-previous-column/202992/1 "2019-10-10T09:45:50Z")

</div>

How to get the percentage of a particular column in datatable of visualization in kibana?  
In my table, I have 3 columns.  
Kibana 7.3.2

Col A: Text  
Col B: Volume of something (numeric)  
Col C: ?? (should be percentage based on Col B)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/2/22ca1add0efd19bbbc2674afbceb10ec4065ccc1.png)

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [October 10, 2019, 8:51pm UTC](https://discuss.elastic.co/t/datatable-display-computed-value-from-previous-column/202992/2 "2019-10-10T20:51:59Z")

</div>

If you click on "Options" there is a "Percentage column" you can include. Is that accomplish what you're looking for?

---

<div class="post-metadata">

**Author:** ![Gokul\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gokul_raj/32/48717_2.png) [@Gokul\_Raj](https://discuss.elastic.co/u/Gokul_Raj)\
**Post date:** [October 14, 2019, 1:59am UTC](https://discuss.elastic.co/t/datatable-display-computed-value-from-previous-column/202992/3 "2019-10-14T01:59:10Z")

</div>

I believe you have misunderstood my question. Let me rephrase, I need a new column with the percentage of the row values. Example : Col B containing value of 200, then Col C should be 80% of the value of Col B which is 160.  
Also I find no "Percentage column" under "Options".

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/e/ae8ae3bb5453f0e7cf6b4475bd08c8b361ab3664.png)

---

<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:** [November 11, 2019, 1:59am UTC](https://discuss.elastic.co/t/datatable-display-computed-value-from-previous-column/202992/4 "2019-11-11T01:59:21Z")

</div>

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