# Kibana Threshold line

**URL:** <https://discuss.elastic.co/t/kibana-threshold-line/221191>\
**Category:** Kibana\
**Created:** [February 27, 2020, 9:25am UTC](https://discuss.elastic.co/t/kibana-threshold-line/221191 "2020-02-27T09:25:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alok](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Alok](https://discuss.elastic.co/u/Alok)\
**Post date:** [February 27, 2020, 9:25am UTC](https://discuss.elastic.co/t/kibana-threshold-line/221191/1 "2020-02-27T09:25:57Z")

</div>

Dear Extperts,

As of ES 7.6 , The threshold line in Kibana takes only static values and accepts integers.  
Is there a way we can parameterize the threshold value?

For example , I plot a bar chart showing marks obtained by students and would like to show average marks as threshold line.

Regards

---

<div class="post-metadata">

**Author:** ![Liza\_Katz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/liza_katz/32/52358_2.png) [@Liza\_Katz](https://discuss.elastic.co/u/Liza_Katz)\
**Post date:** [February 27, 2020, 11:02am UTC](https://discuss.elastic.co/t/kibana-threshold-line/221191/2 "2020-02-27T11:02:30Z")

</div>

Hey @Alok

Instead of using the threshold line (which is indeed using static values), you can add an additional metric (for example average grades).

![image](https://us1.discourse-cdn.com/elastic/original/3X/6/a/6aaeafa90ec03d7d3abbd163c0f4c7bd42594814.png)

You can control how it's displayed, turning it into a line, by changing the "Chart Type" under "Metrics & Axes".

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/9/9987320feb815fc287d7348289aedecad380a9a8.png)

Hope this helps,  
Liza

---

<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:** [March 26, 2020, 11:02am UTC](https://discuss.elastic.co/t/kibana-threshold-line/221191/3 "2020-03-26T11:02:31Z")

</div>

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