I need to get the daily maximum value and timestamp for a tag, and I also want to be able to trend the maximum values. I'm planning to do this trough AF.
I tried the below, and it looks great. It returns the maximum value and its timestamp but it only returns the maximum value for the current day. I get this "GetValues not supported for the relative time specifier " when trying to trend or get time series data.
Then, I tried using an analyses "TagMax('Power','t','t+1d')". This way I am able to trend and get the maximum values for a period of time, but the timestamps are the time when the analysis triggered and not the time of the event.
Any idea how I could get the results I want?