# How to graph only the stack total?

**URL:** https://discuss.elastic.co/t/how-to-graph-only-the-stack-total/197909
**Category:** Kibana
**Created:** [September 3, 2019, 4:32pm UTC](https://discuss.elastic.co/t/how-to-graph-only-the-stack-total/197909 "2019-09-03T16:32:44Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)
#### Post date: [September 4, 2019, 4:02pm UTC](https://discuss.elastic.co/t/how-to-graph-only-the-stack-total/197909/2 "2019-09-04T16:02:29Z")

</div>

Hello David,

It sounds like you want the [cumulative sum aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-cumulative-sum-aggregation.html) for a running total. Does that sound right?

Also, here's a [related issue](https://discuss.elastic.co/t/creating-a-cumalative-sum-visualization-split-on-terms/169576) in case it helps.

Regards,  
Aaron

---

_[View the full topic](https://discuss.elastic.co/t/how-to-graph-only-the-stack-total/197909)._
