# How to filter the maximum value of the last 24 hours

**URL:** <https://discourse.nodered.org/t/how-to-filter-the-maximum-value-of-the-last-24-hours/29566>\
**Category:** General\
**Created:** [5 July 2020 18:03 UTC](https://discourse.nodered.org/t/how-to-filter-the-maximum-value-of-the-last-24-hours/29566 "2020-07-05T18:03:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [5 July 2020 18:40 UTC](https://discourse.nodered.org/t/how-to-filter-the-maximum-value-of-the-last-24-hours/29566/2 "2020-07-05T18:40:57Z")

</div>

should be possible in a change node with a JSONata expression. Have a look at this thread

> [@JSONata: Get max and minimum temperature with timestamp](https://discourse.nodered.org/t/jsonata-get-max-and-minimum-temperature-with-timestamp/26879):
>
> Ok, we have this data from influx. Temperature over the last 30 minutes [{"time":"2020-05-18T19:09:53.000Z","Temperatur":24.1},{"time":"2020-05-18T19:09:58.000Z","Temperatur":24},{"time":"2020-05-18T19:12:48.000Z","Temperatur":23.9},{"time":"2020-05-18T19:13:27.000Z","Temperatur":24},{"time":"2020-05-18T19:13:33.000Z","Temperatur":23.9},{"time":"2020-05-18T19:13:48.000Z","Temperatur":24},{"time":"2020-05-18T19:13:55.000Z","Temperatur":23.9},{"time":"2020-05-18T19:16:33.000Z","Temperatur":23.8},…

---

_[View the full topic](https://discourse.nodered.org/t/how-to-filter-the-maximum-value-of-the-last-24-hours/29566)._
