Need help in custom report

@a.samy I think you also have a specific ticket type so you may want to include it as well. So assuming your ticket type is named as Officer Ticket, you can change expressions like…

(TEN.Officer=$1) and (TY=Officer Ticket)