# Display noValue as 0 in Kibana Heat Maps

**URL:** <https://discuss.elastic.co/t/display-novalue-as-0-in-kibana-heat-maps/105545>\
**Category:** Kibana\
**Created:** [October 27, 2017, 9:51am UTC](https://discuss.elastic.co/t/display-novalue-as-0-in-kibana-heat-maps/105545 "2017-10-27T09:51:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manoj\_13](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Manoj\_13](https://discuss.elastic.co/u/Manoj_13)\
**Post date:** [October 27, 2017, 9:51am UTC](https://discuss.elastic.co/t/display-novalue-as-0-in-kibana-heat-maps/105545/1 "2017-10-27T09:51:47Z")

</div>

In Kibana Heat Maps ,Can i get the value as zero if no incidents exits under a category(right now i am getting balnk spaces)

 ![Screenshot (78)](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63872c8ee88059bb268b30091b1ac4cda48d21e4.png)

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [October 27, 2017, 8:53pm UTC](https://discuss.elastic.co/t/display-novalue-as-0-in-kibana-heat-maps/105545/2 "2017-10-27T20:53:24Z")

</div>

The problem is that Elasticsearch doesn't return 0 values for the query, so they aren't shown here.

It looks like you're using a terms agg here. In that case, you can use the _JSON Input_ for the aggregation (it's hidden under Advanced) and add the following to get 0 values to show up:

```auto
{ "min_doc_count":0 }

```

This will cause Elasticsearch to "zero fill" the values, and then they'll show up in the heatmap.

---

<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:** [November 28, 2017, 10:03am UTC](https://discuss.elastic.co/t/display-novalue-as-0-in-kibana-heat-maps/105545/4 "2017-11-28T10:03:04Z")

</div>

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