calculate Max and min value from QueryPropertyHistory
I have computed values on a day which is temp_min, temp_max
these are stored in value stream
is there anyway to get the max and min values logged into query property history on a particular day ?
example

when i compute min and max value in query property history on date 8/18/2016
the result should be
temp_min : 3
temp_max : 53
am very new to thingworx .please and kindly tell me is there is any way to compute this way in query property if so please give me the example code snippet

