Report by ticket state

Hi all, I’d like to run a report for the total of all tickets with a specific state value in the last week.

Could you help me with the syntax please.

Something like (TS.StateName=StateValue)