# Metric value 0 breaking change (since upgrade to version 7.13)

**URL:** <https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956>\
**Category:** Kibana\
**Created:** [June 15, 2021, 7:42am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956 "2021-06-15T07:42:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chenlrv](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@Chenlrv](https://discuss.elastic.co/u/Chenlrv)\
**Post date:** [June 15, 2021, 7:42am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956/1 "2021-06-15T07:42:18Z")

</div>

Hello, since upgrading to version 7.13, Metric visualizations with value of 0 look like this:

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

where before upgrade Metric visualizations showed 0.  
Is there any solution to this? we want to show the value 0 and not dash.

Thanks

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [June 15, 2021, 7:52am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956/2 "2021-06-15T07:52:45Z")

</div>

Hey, we made a change on 7.13 and the null series now are depicted with dash instead of 0. Here is the PR that made this change for more info [https://github.com/elastic/kibana/pull/90861](https://github.com/elastic/kibana/pull/90861)  
I assume that you have null series, this is the reason that you see the dash

---

<div class="post-metadata">

**Author:** ![Chenlrv](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@Chenlrv](https://discuss.elastic.co/u/Chenlrv)\
**Post date:** [June 15, 2021, 9:01am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956/3 "2021-06-15T09:01:20Z")

</div>

How can I have a null series if I'm using count aggregation? (and there is data)

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [June 15, 2021, 9:02am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956/4 "2021-06-15T09:02:06Z")

</div>

Can you apply some screenshots?

---

<div class="post-metadata">

**Author:** ![Chenlrv](https://avatars.discourse-cdn.com/v4/letter/c/c5a1d2/32.png) [@Chenlrv](https://discuss.elastic.co/u/Chenlrv)\
**Post date:** [June 15, 2021, 9:14am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956/5 "2021-06-15T09:14:30Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)\
**Post date:** [June 15, 2021, 10:09am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956/6 "2021-06-15T10:09:22Z")

</div>

I see, yes for Count it should be zero. I have created this issue and we will try to solve it soonish

> <https://github.com/elastic/kibana/issues/102179>
>
> \*\*Kibana version:\*\*
> master
> 
> \*\*Describe the bug:\*\*
> I have a TSVB metric viz w…ith Count aggregation. When there is no data, I want the value to be displayed as zero and not as dash. 
> 
> Now the metric is displayed with a dash
> !\[image\](https://user-images.githubusercontent.com/17003240/122034763-830a7f80-cdda-11eb-9e26-24f93a3c46ed.png)
> 
> while the timeseries is displayed with zero
> !\[image\](https://user-images.githubusercontent.com/17003240/122034835-9289c880-cdda-11eb-8b79-c941ecc9f434.png)
> 
> I want Count to display zero and not a dash as it is confusing for our users. This is what we had agreed here https://github.com/elastic/kibana/pull/90861#issuecomment-780417305

Thank you for that!

---

<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:** [July 13, 2021, 10:10am UTC](https://discuss.elastic.co/t/metric-value-0-breaking-change-since-upgrade-to-version-7-13/275956/7 "2021-07-13T10:10:20Z")

</div>

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