Skip to main content
Filters: All + Any Operators

Learn about the difference between "any" and "all" operators to easily create segments.

Michael Stephenson avatar
Written by Michael Stephenson
Updated this week

Overview

When building a Segment or applying Filters, the All and Any operators allow you to create advanced filtering logic to include or exclude specific groups of people.


All Operator (AND)

The All operator ensures that all conditions in the group must be met for the contact to match. Think of it as saying, “Show me contacts who meet ALL of these criteria.”

View Example

If you use the Filters “Prospect” AND “has the label ‘Complete FAFSA,’” only contacts who meet both conditions will appear in your segment.


Any Operator (OR)

The Any operator casts a wider net, allowing contacts to meet at least one condition in the group. It’s like saying, “Show me contacts who meet ANY of these criteria.”

View Example

If you use the Filters “Prospect” OR “has the label ‘Complete FAFSA,’” contacts who match either condition will appear in your segment.


Combining All + Any Operators

You can combine the All and Any operators to create sophisticated filtering logic. In these scenarios, different filter groups can use different operators depending on your needs.

View Example

The following segment uses both Any (OR) and All (AND) operators:

Filters Used

This segment includes the following Filters:

  • Contacts who are a Prospect (purple)

  • Contacts who are a Suspect AND have opened emails 3+ times (blue)

  • Contacts who are a Suspect AND have a date of last SMS click (green)

Operators Explained

  • The Any (OR) operator is applied at the top level, represented by the large rectangle (orange). A contact needs to meet any one of the purple, blue, or green groups to match the segment.

  • The All (AND) operator is used within the blue and green groups, requiring contacts to meet all conditions in those specific groups.

Summary

Contacts will be added to your segment if they meet at least one of the criteria outlined in the purple, blue, or green filter groups.


Limitations of Operators with Different Property Types

Filters from different Property Types (color groups) are automatically connected with the All (AND) operator. The Any (OR) operator can only be used within a single Property Type (same color group).

Why?

Different Property Types represent distinct data objects (e.g., Contacts, Decisions, Tasks), and the system requires logical consistency between them. For example:

  • You can create a segment where contacts who live in Missouri AND who have uploaded a transcript appear, as this connects Filters across different Property Types with the All (AND) operator.

  • You cannot create a segment where contacts who live in Missouri OR who have uploaded a transcript appear, as this would require mixing Property Types with the Any (OR) operator.

For more details on Property Types and their color groupings, see the Filter + Property Type Guide.


Ready to Build a Segment?

Did this answer your question?