What is the granularity of the “created” field? Is it seconds? If it’s seconds, your calculated field is calculating the average of all values of Field_1 in that 1 second period. If you have only 1 data point in that 1 second period, your average is the same as the Field_1 value.
If you want to use a different time period for the average, you need to create a field to calculate that period first before you use it in your calculation of the average.
Example: created_month = truncDate(‘MM’, created)
Can you check and let me know whats wrong in this. Or to calculate the average should I be using something else instead of time period? Please guide here
If I’m understanding you correctly, you want to show the count of false positives and true positives by month and the average should be across all the months in your dataset. Is that right? If that’s the case, you don’t need to calculate the average. You can add it as a reference line like this: