# Create a metric visualization based on a product of two fields

**URL:** <https://discuss.elastic.co/t/create-a-metric-visualization-based-on-a-product-of-two-fields/173212>\
**Category:** Kibana\
**Created:** [March 20, 2019, 7:23pm UTC](https://discuss.elastic.co/t/create-a-metric-visualization-based-on-a-product-of-two-fields/173212 "2019-03-20T19:23:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diego\_Lopes\_Penna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_lopes_penna/32/42465_2.png) [@Diego\_Lopes\_Penna](https://discuss.elastic.co/u/Diego_Lopes_Penna)\
**Post date:** [March 20, 2019, 7:23pm UTC](https://discuss.elastic.co/t/create-a-metric-visualization-based-on-a-product-of-two-fields/173212/1 "2019-03-20T19:23:19Z")

</div>

Hi!  
I want to create a metric visualization in Kibana showing a result obtained by a calculation.  
The visualization need to show the result of the following calculus..  
(agg(field[A]) + agg(field[B]) )/agg(field[C]).  
Is there a way to execute this kind of operation direct on Kibana?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [March 20, 2019, 9:27pm UTC](https://discuss.elastic.co/t/create-a-metric-visualization-based-on-a-product-of-two-fields/173212/2 "2019-03-20T21:27:36Z")

</div>

Unfortunately this isn't yet supported. You can follow progress here: [https://github.com/elastic/kibana/issues/2646](https://github.com/elastic/kibana/issues/2646) and [https://github.com/elastic/kibana/issues/4707](https://github.com/elastic/kibana/issues/4707)

---

<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 17, 2019, 9:27pm UTC](https://discuss.elastic.co/t/create-a-metric-visualization-based-on-a-product-of-two-fields/173212/3 "2019-04-17T21:27:37Z")

</div>

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