# Using Visual Builder to display remaing works to be processed

**URL:** <https://discuss.elastic.co/t/using-visual-builder-to-display-remaing-works-to-be-processed/191624>\
**Category:** Kibana\
**Tags:** elastic-stack-graph\
**Created:** [July 22, 2019, 11:23am UTC](https://discuss.elastic.co/t/using-visual-builder-to-display-remaing-works-to-be-processed/191624 "2019-07-22T11:23:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimJ](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JimJ](https://discuss.elastic.co/u/JimJ)\
**Post date:** [July 22, 2019, 11:23am UTC](https://discuss.elastic.co/t/using-visual-builder-to-display-remaing-works-to-be-processed/191624/1 "2019-07-22T11:23:57Z")

</div>

Hi,

First of all, I am new in Kibana.

I start using it to display statistics about my workflows.  
For each update (Creation, inProgress, Success, Failed), our system creates a document with W/F stats.  
So, I used the Visual Builder to display the count of Created and Success W/Fs.  
I added the average duration on top of it.

Now, I would like to add the count of pending W/Fs = cumulative sum of Created - cumulative sum of Success.  
In other words, it can also be a count of all the W/F buckets without a Success document, a W/F bucket being a group of document wih the same W/F id.

Any suggestion how to do it is welcome.

---

<div class="post-metadata">

**Author:** ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)\
**Post date:** [July 22, 2019, 9:15pm UTC](https://discuss.elastic.co/t/using-visual-builder-to-display-remaing-works-to-be-processed/191624/2 "2019-07-22T21:15:06Z")

</div>

Hi @JimJ

@timroes any thoughts on how to help?

Thanks,  
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:** [August 19, 2019, 9:15pm UTC](https://discuss.elastic.co/t/using-visual-builder-to-display-remaing-works-to-be-processed/191624/3 "2019-08-19T21:15:11Z")

</div>

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