I am trying to find the maximum value from a set of data, but only for the months of June through September, and also for any year. I tried using a simple expression like TagMax('Power Receieved','1-jun','1-oct'), but that only finds the maximum value within those months for the current year. So is there a way to reference specific months like this but for any year?

Hi, Nishantha

Maybe you can try using Max Function.

Since you can specify the year of the date for the time range (ex. TagMax('Power Received','1-jun-2015','1-oct-2015')), you can get each max value for each year and find the maximum value within the max values of each year.

Here is a simple Example : (If you want the Max value of June through September from 2013 to 2015)

Max(TagMax('Power Received','1-jun-2015','1-oct-2015'),TagMax('Power Received','1-jun-2014','1-oct-2014'),TagMax('Power Received','1-jun-2013','1-oct-2013'))