# Percent Mode in Line graph is not displaying correctly for 2 lines by filter split

**URL:** <https://discuss.elastic.co/t/percent-mode-in-line-graph-is-not-displaying-correctly-for-2-lines-by-filter-split/267908>\
**Category:** Kibana\
**Created:** [March 21, 2021, 11:48am UTC](https://discuss.elastic.co/t/percent-mode-in-line-graph-is-not-displaying-correctly-for-2-lines-by-filter-split/267908 "2021-03-21T11:48:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nada.nasser](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@nada.nasser](https://discuss.elastic.co/u/nada.nasser)\
**Post date:** [March 21, 2021, 11:48am UTC](https://discuss.elastic.co/t/percent-mode-in-line-graph-is-not-displaying-correctly-for-2-lines-by-filter-split/267908/1 "2021-03-21T11:48:26Z")

</div>

I am trying to display to lines in graph each with filter condition, when i change y-axis mode to percent values are presented as in SS one of the lines is on 100% value all along where data is not. Any clue or something in the chart setup I am missing.  
Using Kibana 7.7.1

 ![PercentMode](https://us1.discourse-cdn.com/elastic/original/3X/8/5/850dd6faca5230a34c673e0d20de076c6482ba62.jpeg)

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [March 22, 2021, 9:54am UTC](https://discuss.elastic.co/t/percent-mode-in-line-graph-is-not-displaying-correctly-for-2-lines-by-filter-split/267908/2 "2021-03-22T09:54:30Z")

</div>

That's the expected behavior for percentage mode - it means "All series together add up to 100%". In case of a line chart, this will cause the top series to stay at 100%. It's not a recommended configuration.

What do you expect to see? Maybe there's another way to achieve it.

---

<div class="post-metadata">

**Author:** ![nada.nasser](https://avatars.discourse-cdn.com/v4/letter/n/67e7ee/32.png) [@nada.nasser](https://discuss.elastic.co/u/nada.nasser)\
**Post date:** [March 22, 2021, 4:33pm UTC](https://discuss.elastic.co/t/percent-mode-in-line-graph-is-not-displaying-correctly-for-2-lines-by-filter-split/267908/3 "2021-03-22T16:33:11Z")

</div>

I want to display each line with its percent value. at the same x-point I have 2 y-points like (30% - 70%) their sum to be 100 but they to display like mirroring to each other. Hope this clarify the output needed, if there is any other alternative I can achieve this, it would be great. Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [March 23, 2021, 9:17am UTC](https://discuss.elastic.co/t/percent-mode-in-line-graph-is-not-displaying-correctly-for-2-lines-by-filter-split/267908/4 "2021-03-23T09:17:07Z")

</div>

I see, this makes a lot of sense. Unfortunately, this is currently not possible in Kibana, I created a feature request here: [[Lens] Allow unstacked line percentage chart · Issue #95142 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/95142)

---

<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 20, 2021, 9:17am UTC](https://discuss.elastic.co/t/percent-mode-in-line-graph-is-not-displaying-correctly-for-2-lines-by-filter-split/267908/5 "2021-04-20T09:17:59Z")

</div>

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