Skip to content
Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Filter Condition/Criteria entry
How-to guide

How to build a filtered list view

The most hands-on way to build a filter condition is to create a filtered list view in Lightning Experience. The steps below add one or more conditions and, if needed, filter logic to control how they combine.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated Jun 16, 2026

The most hands-on way to build a filter condition is to create a filtered list view in Lightning Experience. The steps below add one or more conditions and, if needed, filter logic to control how they combine.

  1. Open the list view controls

    Go to an object home page such as Opportunities. Click the list view controls gear, then choose New to create a list view, or select an existing one and open the Filters panel from the same gear menu.

  2. Add a filter condition

    In the Filters panel, click Add Filter. Pick the field to filter, select an operator from the Filter by dropdown such as equals or greater than, enter or select a value, then click Done.

  3. Add more conditions as needed

    Repeat Add Filter for each rule. Each new filter is numbered automatically. By default the conditions are joined with AND, so a record must satisfy every filter to appear.

  4. Apply filter logic for OR or NOT

    If you need OR or NOT, click Add Filter Logic and write a statement referencing the filter numbers, such as 1 AND (2 OR 3). Avoid wrapping NOT around a parenthesis, which list views evaluate incorrectly.

  5. Save and share the view

    Click Save, name the list view, and set who can see it (just you, a group, or all users). The filtered view is stored as metadata and refreshes automatically as records change.

Fieldremember

The record field the condition evaluates, such as Stage, Amount, or Owner. Available fields depend on the object and your access.

Operatorremember

How the field is compared: equals, not equal to, greater than, contains, starts with, includes, and so on. The choices change with the field type.

Valueremember

What the field is compared against. Number filters only accept values within the signed 32-bit integer range, or the filter is disabled.

Filter Logicremember

An optional statement that combines numbered filters with AND, OR, and NOT. Without it, all conditions are joined by AND.

Gotchas
  • NOT around a parenthetical expression is evaluated incorrectly in list views, so 1 AND NOT (2 AND 3) can return zero records. Rewrite the logic to avoid it.
  • Filter logic can reference up to 20 custom filters, and it cannot reference a filter number that does not exist.
  • Numeric filter values must fall between roughly negative 2.1 billion and 2.1 billion; a value outside that signed 32-bit range disables the filter.
  • Editing list view filters requires Read on the records plus the Create and Customize List Views permission.

See the full Filter Condition/Criteria entry

Filter Condition/Criteria includes the definition, worked example, deep dive, related terms, and a quiz.