# Null values appear in line chart with value 0.00

**URL:** https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294
**Category:** Kibana
**Created:** [November 27, 2018, 8:33am UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294 "2018-11-27T08:33:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ilanas](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@ilanas](https://discuss.elastic.co/u/ilanas)
#### Post date: [November 27, 2018, 8:33am UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294/1 "2018-11-27T08:33:10Z")

</div>

Good morning,  
I have a doubt, i have an index with a lot of values of a field with null values in search. When i plot this field in line chart of kibana this all values appears with the 0.00 value. Why catch the value 0.00 if really is null or -? How can i delete this value from the chart if in the same register there are 2 diferent fields that i plot too and they are'mt null?

---

<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 27, 2018, 1:09pm UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294/2 "2018-11-27T13:09:10Z")

</div>

Can you share more details on your data, and show how your chart is configured? I threw together a quick line chart using an index with null values, and it rendered properly without any dips to 0:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/b/5be607bc8e6a4462b55ae7e6affd37fe1fbe825e.jpeg)

---

<div class="post-metadata">

### Author: ![ilanas](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@ilanas](https://discuss.elastic.co/u/ilanas)
#### Post date: [November 27, 2018, 2:03pm UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294/3 "2018-11-27T14:03:01Z")

</div>

in the discover i have for example this values with null an other with number

 ![1](https://us1.discourse-cdn.com/elastic/original/3X/f/e/fe7506875b00132de99e483af8dcefcad945230b.png)

in the table bisualization all the null values appear as 0

![2](https://us1.discourse-cdn.com/elastic/original/3X/d/b/db268965946e261c445bec1788eb4a0f61045c3f.png)

this is the line chart configuration:

 ![3](https://us1.discourse-cdn.com/elastic/original/3X/8/8/882aeb89f133c271bbced124179d31a0797f88c1.png)

in the same chart y want to plot the 3 metric sum but not if they have null value.  
thanks

---

<div class="post-metadata">

### Author: ![ilanas](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@ilanas](https://discuss.elastic.co/u/ilanas)
#### Post date: [November 27, 2018, 2:03pm UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294/4 "2018-11-27T14:03:23Z")

</div>

do you understand now?

---

<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 27, 2018, 2:39pm UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294/5 "2018-11-27T14:39:28Z")

</div>

I think so; you're trying to avoid these dips:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/d/3d836cb3791062cf02e930ae5c37af47a47957ea.jpeg)

If you were to omit the null values, what would you expect to see in its place?  
You could set the "missing" property on your sum metrics to provide a fixed value if it's missing:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1e5e02de3664f81d07e9b10fcda71b296b1cae34.png)

---

<div class="post-metadata">

### Author: ![ilanas](https://avatars.discourse-cdn.com/v4/letter/i/c57346/32.png) [@ilanas](https://discuss.elastic.co/u/ilanas)
#### Post date: [November 28, 2018, 2:24pm UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294/6 "2018-11-28T14:24:48Z")

</div>

If is null value i don't want this line appear in the right and in the graph. only the values not null values. if is null value never it has a value so i don't want this line in thje chart

---

<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 26, 2018, 2:24pm UTC](https://discuss.elastic.co/t/null-values-appear-in-line-chart-with-value-0-00/158294/7 "2018-12-26T14:24:53Z")

</div>

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