# Increasing value series: Difference too small

**URL:** <https://community.influxdata.com/t/increasing-value-series-difference-too-small/33935>\
**Category:** InfluxDB 2\
**Tags:** influxdb, flux\
**Created:** [April 16, 2024, 9:59am UTC](https://community.influxdata.com/t/increasing-value-series-difference-too-small/33935 "2024-04-16T09:59:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![\_Martin](https://avatars.discourse-cdn.com/v4/letter/_/ebca7d/32.png) [@\_Martin](https://community.influxdata.com/u/_Martin)\
**Post date:** [April 16, 2024, 11:20am UTC](https://community.influxdata.com/t/increasing-value-series-difference-too-small/33935/2 "2024-04-16T11:20:30Z")

</div>

Without interpolation, the following looks quite good as it does not introduce those small errors:

```auto
from(bucket: "default")
  |> range(start: 2024-04-01T00:00:00Z, stop: 2024-04-03T23:59:59Z)
  |> filter(fn: (r) => r["_measurement"] == "Measurement")
  |> aggregateWindow(every: 1d, fn: max)

```

will output

```auto
2024-04-01T00:00:00Z: 10
2024-04-02T00:00:00Z: 39

```

Taken from: [Flux: Get total energy by month with an ever-increasing value - #8 by grant1](https://community.influxdata.com/t/flux-get-total-energy-by-month-with-an-ever-increasing-value/28191/8)

---

_[View the full topic](https://community.influxdata.com/t/increasing-value-series-difference-too-small/33935)._
