# Table (count data and divide through days of current month)

**URL:** https://discuss.elastic.co/t/table-count-data-and-divide-through-days-of-current-month/208847
**Category:** Kibana
**Created:** [November 21, 2019, 9:44am UTC](https://discuss.elastic.co/t/table-count-data-and-divide-through-days-of-current-month/208847 "2019-11-21T09:44:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Yevhen\_Baidiuk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yevhen_baidiuk/32/57956_2.png) [@Yevhen\_Baidiuk](https://discuss.elastic.co/u/Yevhen_Baidiuk)
#### Post date: [November 21, 2019, 9:44am UTC](https://discuss.elastic.co/t/table-count-data-and-divide-through-days-of-current-month/208847/1 "2019-11-21T09:44:08Z")

</div>

I have data like  
data value  
01.08.2019 - 33  
02.08.2019 - 25  
03.08.2019 - 26  
(empty)  
31.08.2019 - 26  
How I can count this data per month and divide per count of current Month days?  
4/31 = 0.1290

---

<div class="post-metadata">

### Author: ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)
#### Post date: [November 21, 2019, 2:37pm UTC](https://discuss.elastic.co/t/table-count-data-and-divide-through-days-of-current-month/208847/2 "2019-11-21T14:37:57Z")

</div>

Hey @Yevhen_Baidiuk,

To accomplish this, you would need to perform a [Bucket Script Aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-bucket-script-aggregation.html), which isn't currently supported in Kibana. We are tracking this issue here: [https://github.com/elastic/kibana/issues/4707](https://github.com/elastic/kibana/issues/4707) if you'd like to vote on it

---

<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: [December 19, 2019, 2:38pm UTC](https://discuss.elastic.co/t/table-count-data-and-divide-through-days-of-current-month/208847/3 "2019-12-19T14:38:03Z")

</div>

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