Try this: | timechart count as SLO count(eval(durationInMinutes<60)) as Achieved
| eval Percent=round(Achieved*100/SLO, 2)
| timechart Percent The original example didn't work as expected because the SLO field in the denominator no longer existed after the |timechart command. You would need count(SLO) as SLO. The second example didn't work because the as clause needs to be outside whatever stats command you're using and the second count() was missing an eval. For example: | timechart count(eval(durationInMinutes<60)) AS Achieved count(eval(durationInMinutes>=60)) as Fail
... View more