# Multiply fields from different indices

**URL:** <https://discuss.elastic.co/t/multiply-fields-from-different-indices/225193>\
**Category:** Kibana\
**Created:** [March 26, 2020, 12:44pm UTC](https://discuss.elastic.co/t/multiply-fields-from-different-indices/225193 "2020-03-26T12:44:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nottellingyou](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nottellingyou](https://discuss.elastic.co/u/nottellingyou)\
**Post date:** [March 26, 2020, 12:44pm UTC](https://discuss.elastic.co/t/multiply-fields-from-different-indices/225193/1 "2020-03-26T12:44:15Z")

</div>

Hi,

I have two indices; 1st index is a list of staff, location and daily costs, the 2nd index is a list of projects, start/end dates, assigned staff and working days.

I would like to calculate the project cost by multiplying the staff daily cost by project working days.

I can't seem to find anything in visualisation or a scripted field.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 30, 2020, 7:05pm UTC](https://discuss.elastic.co/t/multiply-fields-from-different-indices/225193/2 "2020-03-30T19:05:00Z")

</div>

Hello,

You should be able to use time series visual builder to do these kinds of math operations.

> **[Kibana Time Series Visual Builder](https://www.elastic.co/blog/master-time-with-kibanas-new-time-series-visual-builder)**
>
> Using Kibana's new time series visual builder feature to analyze and explore time series data living in Elasticsearch.

Its a type under visualization.

Thanks,  
Bhavya

---

<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 27, 2020, 7:05pm UTC](https://discuss.elastic.co/t/multiply-fields-from-different-indices/225193/3 "2020-04-27T19:05:00Z")

</div>

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