# Getting the max value of an array with multiple keys

**URL:** https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890
**Category:** Questions
**Tags:** arrays
**Created:** [October 27, 2025, 9:15am UTC](https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890 "2025-10-27T09:15:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![hktokka](https://avatars.discourse-cdn.com/v4/letter/h/f9ae1b/32.png) [@hktokka](https://community.make.com/u/hktokka)
#### Post date: [October 27, 2025, 9:15am UTC](https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890/1 "2025-10-27T09:15:52Z")

</div>

Hello,

I have an array like this:

`“value”: [{`  
`“timeseries”: [{`  
`“data”: [`  
`{“timeStamp”:“09:15”,“maximum”:45},`  
`{“timeStamp”:“09:16”,“maximum”:60},`  
`{“timeStamp”:“09:17”,“maximum”:55}`  
`]`  
`}]`  
`}]`

How can I get the Maximum of all the values inside the data array (expected 60)?

---

<div class="post-metadata">

### Author: ![Prem\_Patel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/prem_patel/32/93657_2.png) [@Prem\_Patel](https://community.make.com/u/Prem_Patel)
#### Post date: [October 27, 2025, 12:12pm UTC](https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890/3 "2025-10-27T12:12:27Z")

</div>

Heyy @hktokka Welcome to the community!

You can use this formula to get the max value from your data array.

```auto
{{max(map(9.value[].timeseries[].data; "maximum"))}}

```

Where you can replace the array part with your timeseries array.

I hope this helps!

Best,  
@Prem_Patel

---

<div class="post-metadata">

### Author: ![hktokka](https://avatars.discourse-cdn.com/v4/letter/h/f9ae1b/32.png) [@hktokka](https://community.make.com/u/hktokka)
#### Post date: [October 29, 2025, 4:00am UTC](https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890/4 "2025-10-29T04:00:29Z")

</div>

Thanks @Prem_Patel  
It works!

---

<div class="post-metadata">

### Author: ![Prem\_Patel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/prem_patel/32/93657_2.png) [@Prem\_Patel](https://community.make.com/u/Prem_Patel)
#### Post date: [October 29, 2025, 10:10am UTC](https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890/5 "2025-10-29T10:10:25Z")

</div>

Glad it helped! @hktokka

---

<div class="post-metadata">

### Author: ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)
#### Post date: [October 30, 2025, 4:56am UTC](https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890/6 "2025-10-30T04:56:43Z")

</div>

Welcome to the Make community!

To do this, you can use these built-in functions:

- **[map](https://help.make.com/array-functions#LkeqT)**  
`map(complex array; key; [filter by key]; [csv-values for filtering])`

- **[max](https://help.make.com/math-functions#RAmSm)**  
`max([array of values]), max(value1;value2; ...)`

I’d recommend going through the [Make Academy](https://academy.make.com) if you haven’t yet, as these functions have been covered — refer to the [Make Academy Course Overview](https://community.make.com/t/make-academy-course-overview/29699) to learn more.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

### Learn Make

- [Help Centre](https://help.make.com) | [Tutorials](https://help.make.com/create-your-first-scenario) – Make’s “manual” - search for help here first
- [Make Academy](https://academy.make.com) – Basics 101: Learn Make properly to get your money’s worth
- [Mapping](https://help.make.com/mapping) – What is mapping? What can I map?
- [Mapping with arrays](https://help.make.com/mapping-arrays) – How to map items in an array
- **Date Format** : [tokens for `parseDate`](https://help.make.com/tokens-for-datetime-parsing) | [tokens for `formatDate`](https://help.make.com/tokens-for-datetime-formatting)
- [HTTP modules](https://apps.make.com/http) – Make a request, Get (download) a file
- [Webhooks](https://help.make.com/webhooks) – Error Handling, Responding to webhooks

### How-Tos

- [Router Magic Formula](https://www.youtube.com/watch?v=4Q-5BsCtJu4) - YouTube
- [Error Handlers in Make](https://www.youtube.com/playlist?list=PLRE9E-rAD8U10mx2TRs54Nq1XJDdK9Kx4) - YouTube playlist
- [Aggregate an array for mapping complex fields](https://help.make.com/flow-control#VhcUm)
- [Getting started with OpenAI](https://community.make.com/t/getting-started-with-openai-gpt-3-and-make/7796) - How to setup and use OpenAI in Make
- [Text Parser module](https://help.make.com/text-parser) - Use pattern matching to extract the text you want
- [Webhooks – Make Academy](https://academy.make.com/courses/IntermediateC04) - tutorial on how to use Webhooks

— @samliew  
P.S.: investing some effort into the tutorials in the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make!

---

<div class="post-metadata">

### Author: ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)
#### Post date: [November 12, 2025, 4:12am UTC](https://community.make.com/t/getting-the-max-value-of-an-array-with-multiple-keys/94890/7 "2025-11-12T04:12:05Z")

</div>


