# KIBANA Division Filed with filter / Filed

**URL:** https://discuss.elastic.co/t/kibana-division-filed-with-filter-filed/87401
**Category:** Kibana
**Created:** [May 29, 2017, 6:58am UTC](https://discuss.elastic.co/t/kibana-division-filed-with-filter-filed/87401 "2017-05-29T06:58:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nikinavi](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@nikinavi](https://discuss.elastic.co/u/nikinavi)
#### Post date: [May 29, 2017, 6:58am UTC](https://discuss.elastic.co/t/kibana-division-filed-with-filter-filed/87401/1 "2017-05-29T06:58:07Z")

</div>

i have 84 fields in my index and i am trying to build a line chart using following fields.

1. mt\_closed\_cases.dv\_case\_cta\_flag - This is string filed contains only two values either 'Y' or 'N'
2. fiscal month - it contains month names in string format.
3. Case Category - This is string filed

So my requirement is, to build a line chart with following

count( mt\_closed\_cases.dv\_case\_cta\_flag='Y') / count(mt\_closed\_cases.dv\_case\_cta\_flag) by fiscal month

could you please help me

---

<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: [May 30, 2017, 5:04am UTC](https://discuss.elastic.co/t/kibana-division-filed-with-filter-filed/87401/2 "2017-05-30T05:04:49Z")

</div>

This is a good use for [Timelion](https://www.elastic.co/blog/timelion-timeline). Which can allow you to overlay the open/closed cases

---

<div class="post-metadata">

### Author: ![nikinavi](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@nikinavi](https://discuss.elastic.co/u/nikinavi)
#### Post date: [May 30, 2017, 3:43pm UTC](https://discuss.elastic.co/t/kibana-division-filed-with-filter-filed/87401/3 "2017-05-30T15:43:08Z")

</div>

timelion is working but there x-axis is fixed , can't we change x-axis to our custom filed ?

---

<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: [June 27, 2017, 3:43pm UTC](https://discuss.elastic.co/t/kibana-division-filed-with-filter-filed/87401/4 "2017-06-27T15:43:17Z")

</div>

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