# Filter tickets in the Helpdesk > Every field, operator and value you can use to decide which tickets a view shows Filters pick out a slice of your tickets, such as unassigned WhatsApp tickets or everything tagged `refund-request`. In QwryAI you build them on the **Filters** tab of a [saved view](/docs/user-guides/chatbot/help-desk/saved-views), where they're kept together with the view's sort order and columns. A filter has three parts: a **field**, an **operator** and one or more **values**. A ticket must match every filter in the view to appear. A view can have up to 20 filters. > [!NOTE] > > For a quick look without saving anything, use the status menu above the ticket list (it reads **All** until you pick a status) and the **Search tickets** field. They narrow the list you're looking at, without changing the view. ## Add a filter **1. Open the view dialog** Click **New view** next to **Views** in the sidebar, or **Edit** in a saved view's menu. A new view starts with one filter, **Status category** **is none of** **Closed, Cancelled**, so it shows open tickets. Change or remove it if you want closed tickets too. **2. Click Add filter, then pick a field** ![The New view dialog with the default Status category is none of Closed, Cancelled filter, a new filter row below it, and that row's Field list open, offering Status category, Status, Channel, Assignee, Team, Tags, Priority, Mentions me, Created, Type, Last message by and more below.](annotated/01-field.webp "Add filter adds a row. Pick its field.") **3. Pick an operator** ![The new filter row with Priority as its field and the Operator list open, offering is any of and is none of.](annotated/02-operator.webp "Then an operator.") **4. Pick the values** ![The values list for the Priority filter with Urgent ticked and the pointer on High, Medium and Low unticked, under the default Status category is none of Closed, Cancelled filter.](annotated/03-values.webp "Then one or more values.") Remove a filter with the **×** at the end of its row. If a row is left incomplete, the dialog asks you to complete or remove each filter before you save. ## Available fields | Field | What it filters on | | - | - | | **Status category** | The ticket's category: New, On you, On hold, On customer, Closed or Cancelled | | **Status** | One specific status, including statuses you added yourself | | **Channel** | Where the ticket came from | | **Assignee** | The teammate the ticket is assigned to | | **Team** | The team the ticket belongs to | | **Tags** | The [tags](/docs/user-guides/chatbot/help-desk/tags) on the ticket | | **Priority** | The ticket's [priority](/docs/user-guides/chatbot/help-desk/priority) | | **Mentions me** | Tickets where you're @mentioned in a note | | **Created** | When the ticket was created | | **Last activity** | When the ticket last changed | | **Type** | Whether it's a ticket, a live chat or an outbound ticket | | **Last message by** | Who sent the latest message | | **Category** | The ticket's topic category | | **Custom field** | The value of a [custom field](/docs/user-guides/chatbot/help-desk/custom-fields) on the agent | ## Operators by field | Field | Operators | | - | - | | Status category, Status, Channel, Assignee, Team, Tags, Priority, Mentions me, Type, Last message by, Category | **is any of**, **is none of** | | Created, Last activity | **in the last**, **before**, **after**, **between** | | Custom field | Depends on the field's type, see [Custom fields](#custom-fields) | What each operator means: * **is any of** / **is none of**: pick one or more values. The ticket must match at least one of them, or none of them. * **in the last**: a rolling window, such as the last 7 days, 2 weeks or 3 months. The window can be up to 365 days. * **before** / **after**: a fixed date. * **between**: a start and an end date. * **is**, **contains**, **greater than**, **less than**, **is set**, **is not set**: for custom fields only. ![The New view dialog with three filters: Status category is none of Closed, Cancelled; Priority is any of Urgent, High; and Created in the last 7, with the unit list open offering days, weeks and months.](annotated/04-date.webp "Date filters take a window or a date.") ## Values by field ### Status category One or more of **New**, **On you**, **On hold**, **On customer**, **Closed** and **Cancelled**. Every status you add belongs to one of these, so a category filter keeps working when you add statuses. See [Ticket statuses](/docs/user-guides/chatbot/help-desk/ticket-statuses). ### Status One or more of the statuses under **Settings › Helpdesk › Ticket statuses**. Unlike **Status category**, it matches one exact status. ### Channel One or more of **Chat**, **Help page**, **Email**, **WhatsApp**, **Facebook**, **Instagram**, **API**, **Lead form** and **Manual**, plus **Intercom**, **Zendesk**, **HubSpot**, **Gorgias**, **Freshdesk**, **Zoho Desk** and **Salesforce** for tickets your agent sent to another helpdesk. ### Assignee One or more of: * **Me**: whoever is looking at the view, so one shared view works for everyone. * **Unassigned**: no assignee. * Any teammate. ### Team One or more of your teams. ### Tags One or more of: * **Untagged**: tickets without any tag. * Any tag on the agent. A ticket matches **is any of** when it has at least one of the tags you picked. To require two tags at once, add a filter for each. ### Priority One or more of **Urgent**, **High**, **Medium** and **Low**. Every ticket has a priority, so there's no empty value. ### Mentions me Tickets where you're @mentioned in a note. Combine it with other filters to see only the mentions that need you. ### Created / Last activity A rolling window with **in the last**, a whole number with **days**, **weeks** or **months**, or fixed dates with **before**, **after** and **between**. There's no hours unit. ### Type One or more of **Ticket**, **Live chat** and **Outbound** (tickets from an [Outbound campaign](/docs/user-guides/chatbot/outbound-campaigns)). ### Last message by One or more of **Customer**, **Agent** and **AI**. ### Category One or more of **Technical**, **Billing**, **General**, **Feature request**, **Bug report**, **Account**, **Integration** and **Other**. ### Custom fields Pick **Custom field**, then the field. Its type decides the operators: | Field type | Operators | | - | - | | Dropdown | **is any of**, **is none of**, **is set**, **is not set** | | Text, Email | **is**, **contains**, **is set**, **is not set** | | Number | **is**, **greater than**, **less than**, **between**, **is set**, **is not set** | | Date | **before**, **after**, **between**, **is set**, **is not set** | | Boolean | **is**, **is set**, **is not set** | | Image | **is set**, **is not set** | A ticket matches **is set** when the field has any value, and **is not set** when the customer never gave one or it was cleared. ## Combining filters Filters in a view are combined with AND: a ticket must match all of them. To match one value or another, put both values in one **is any of** filter instead of adding two filters. | You want | Use | | - | - | | Urgent or High tickets | One filter: **Priority** **is any of** Urgent, High | | Urgent tickets about billing | Two filters: **Priority** **is any of** Urgent, and **Tags** **is any of** billing | | Open tickets nobody has picked up | **Status category** **is any of** New, and **Assignee** **is any of** Unassigned | ## Frequently asked questions > [accordion] Can I filter without saving a view? > > Use the status menu above the list and **Search tickets** for a quick look. Anything with more than one condition needs a [saved view](/docs/user-guides/chatbot/help-desk/saved-views), which only you see if you choose **Only me**. > [accordion] How many filters can a view have? > > Up to 20, and up to 50 values in one filter. > [accordion] Can I filter on tickets with no reply for 24 hours? > > Not directly: date filters work in days, weeks and months. Filter on **Last message by** **is any of** Customer with an open **Status category**, and sort by **Last activity (oldest)** to put the longest-waiting tickets first.