© 2026 Hedgehog Software, LLC
calculation
calculations do calculate :percent_open, :float, expr(open_tickets / total_tickets) end
if
calculations do calculate :percent_open, :float, expr(if(total_tickets > 0, open_tickets / total_tickets, 100.0)) end
100.0
total_tickets == 0
0.0
open_tickets
total_tickets
aggregates do count :total_tickets, :tickets count :open_tickets, :tickets do filter expr(status == :open) end end