# Facing an issue while creating a dashboard where I want to plot a graph for successful items & failed. But what I need is that the successful items count should go to zero if there is a failed item

**URL:** <https://discuss.elastic.co/t/facing-an-issue-while-creating-a-dashboard-where-i-want-to-plot-a-graph-for-successful-items-failed-but-what-i-need-is-that-the-successful-items-count-should-go-to-zero-if-there-is-a-failed-item/363630>\
**Category:** Kibana\
**Tags:** dashboard\
**Created:** [July 23, 2024, 11:49am UTC](https://discuss.elastic.co/t/facing-an-issue-while-creating-a-dashboard-where-i-want-to-plot-a-graph-for-successful-items-failed-but-what-i-need-is-that-the-successful-items-count-should-go-to-zero-if-there-is-a-failed-item/363630 "2024-07-23T11:49:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurow.deshmukh](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@gaurow.deshmukh](https://discuss.elastic.co/u/gaurow.deshmukh)\
**Post date:** [July 23, 2024, 11:49am UTC](https://discuss.elastic.co/t/facing-an-issue-while-creating-a-dashboard-where-i-want-to-plot-a-graph-for-successful-items-failed-but-what-i-need-is-that-the-successful-items-count-should-go-to-zero-if-there-is-a-failed-item/363630/1 "2024-07-23T11:49:37Z")

</div>

Need to investigate the possibility where:

- for example if from 8 to 10am we have successful items graph shows exponential growth .
- If there there is a failed item , successful item will restart the count from zero. Check graph below ( 8 to 10 successful items & somewhere between 11 to 12 one failed job , In this case the count is resetted & graph goes downwards)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/4/24ac4195c9106cff7f238285f42034888db6928e.png)

---

<div class="post-metadata">

**Author:** ![Kathleen\_DeRusso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kathleen_derusso/32/132039_2.png) [@Kathleen\_DeRusso](https://discuss.elastic.co/u/Kathleen_DeRusso)\
**Post date:** [August 2, 2024, 7:20pm UTC](https://discuss.elastic.co/t/facing-an-issue-while-creating-a-dashboard-where-i-want-to-plot-a-graph-for-successful-items-failed-but-what-i-need-is-that-the-successful-items-count-should-go-to-zero-if-there-is-a-failed-item/363630/2 "2024-08-02T19:20:03Z")

</div>

From #Elastic Search to #Kibana

---

<div class="post-metadata">

**Author:** ![Kathleen\_DeRusso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kathleen_derusso/32/132039_2.png) [@Kathleen\_DeRusso](https://discuss.elastic.co/u/Kathleen_DeRusso)\
**Post date:** [August 2, 2024, 7:20pm UTC](https://discuss.elastic.co/t/facing-an-issue-while-creating-a-dashboard-where-i-want-to-plot-a-graph-for-successful-items-failed-but-what-i-need-is-that-the-successful-items-count-should-go-to-zero-if-there-is-a-failed-item/363630/3 "2024-08-02T19:20:03Z")

</div>

Added #dashboard

---

<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:** [August 30, 2024, 7:20pm UTC](https://discuss.elastic.co/t/facing-an-issue-while-creating-a-dashboard-where-i-want-to-plot-a-graph-for-successful-items-failed-but-what-i-need-is-that-the-successful-items-count-should-go-to-zero-if-there-is-a-failed-item/363630/4 "2024-08-30T19:20:11Z")

</div>

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