# How does timeseries work with interval

**URL:** <https://community.dynatrace.com/t/how-does-timeseries-work-with-interval/48219>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed, notebooks, logs\
**Created:** [October 9, 2024, 5:01am UTC](https://community.dynatrace.com/t/how-does-timeseries-work-with-interval/48219 "2024-10-09T05:01:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maheedhar\_T](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maheedhar_t/32/155_2.png) [@Maheedhar\_T](https://community.dynatrace.com/u/Maheedhar_T)\
**Post date:** [October 9, 2024, 5:01am UTC](https://community.dynatrace.com/t/how-does-timeseries-work-with-interval/48219/1 "2024-10-09T05:01:11Z")

</div>

In DQL while using timeseries and interval together how does it work when a timeseries data has more than 1 value in a minute when we use something like this?

```markup
timeseries `metric1` = avg(log.metric1), interval: 1m

```

the values come out something like&nbsp;[  
0.83554765,  
0.7350236923076923,  
0.45037186666666673,  
0.6317054285714285,  
0.30930225,  
0.5118338571428571,  
0.9574674999999999,  
0.6376439166666666,  
0.5517085714285714,  
0.6551528,  
null  
]

Out of this what if in any one minute there are two/three values.. what value is shown among them ?

---

<div class="post-metadata">

**Author:** ![jaume\_reverte](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jaume_reverte/32/1479_2.png) [@jaume\_reverte](https://community.dynatrace.com/u/jaume_reverte)\
**Post date:** [October 9, 2024, 10:22am UTC](https://community.dynatrace.com/t/how-does-timeseries-work-with-interval/48219/2 "2024-10-09T10:22:53Z")

</div>

Hello&nbsp;[@Maheedhar\_T](https://community.dynatrace.com/user/76275)&nbsp;!

As long as I know it’ll use the aggregation, in your case, will make an average of the different data points.

Hope you a good monitoring!
