Still not working.
I need a search query that will return me 2 values in one row on a table. These values should be the average of 4 numbers summed over all events. An input event contains 5 numbers. The first number in the event, can be a 1 or a 2.
Using all the input events, the first value is the average of the last 4 numbers when the first value is 1 and the second number is the average of the last 4 numbers when the first value in the event line is a 2.
The problem is when I use a 'where' clause it automatically deletes all event that are false and so I cant compute my 2nd value.
... View more