Apply filters with advanced logic

Who can use this feature?

Use filters to fine-tune your segment results, home layouts, and more. Filters rely on relational and logical operators to create advanced logic within your query.

Refer to creating and managing segments to learn more about segment core capabilities.

Relational operators

Relational operators help us compare values within a condition. Each condition (or filter) uses the following format: [field name]  [relation]  [value]

Examples:

  • CSM is Jim Halpert
  • Contract Value is less than $30,000

Catalyst supports the following relational operators; availability depends on the field type:

  • is
  • is not
  • is present
  • is blank
  • is any of
  • is none of
  • is part of
  • is not part of
  • contains
  • does not contain
  • is before
  • is on or before
  • is after
  • is on or after
  • is within the next
  • is within the past
  • is not within the next
  • is not within the past
  • equals
  • does not equal
  • is less than
  • is greater than
  • is less than or equal to
  • is greater than or equal to
  • within the previous fiscal quarter*
  • within the current fiscal quarter*
  • within the next fiscal quarter*
  • within the previous fiscal year*
  • within the current fiscal year*
  • within the next fiscal year*

*Ask the support team about your fiscal configuration. Results will vary depending on the current time. For example, assuming your fiscal year is configured to start in January, if you filter by opportunity close date within current fiscal quarter, results will be different when viewing on March 31 (Jan - March) than on April 1 (April - June).

Add timeframe

For non-text field types, you can optionally add a timeframe to a filter condition. Specify up to 7 consecutive days for which the value must have been true.

Filter by current user

For some user reference fields, you can filter by a named user or "Current User."  This value allows you to dynamically adjust layouts based on the user currently logged into Catalyst. 

For a Catalyst user to qualify for this filter, the email address in the user's Catalyst profile must match the email address associated with the corresponding Salesforce profile, and the Salesforce profile must be active.

Filter by user group

For some user fields, you can filter by user group. This value allows you to reference multiple Catalyst users within a single filter (e.g., Customer Success Manager is part of Bob's Team).

Logical operators

Logical operators help us combine conditions. Use AND/OR operators within a query filter to limit or expand the data returned in a segment. Filter groupings determine the order in which the operators are applied.

Filter groupings apply to segments, not home layouts.

Use the AND operator

An AND operator limits the data that returned in a query because all conditions must be satisfied

Example: Create a list of accounts in the foundation / onboarding stage that belong to Jim.

AND CSM is is Jim Halpert
Journey Stage is Foundation

Result: 3 matching accounts:

Use the OR operator

On the other hand, an OR operator expands the data returned in a query because at least one of the conditions must be satisfied

Example: Create a list of accounts in the foundation / onboarding stage or accounts that belong to Jim.

OR CSM is is Jim Halpert
Journey Stage is Foundation

Result: 33 matching accounts (foundation stage + Jim's accounts):

Apply filter groupings (complex queries)

You can combine AND/OR operators to create complex queries using filter groupings. Filter groupings allow you to "nest" your query logic to tell Catalyst the order in which you want to consider the operators.

Example: Create a list of Jim's accounts that are in the foundation / onboarding stage or Jim's accounts that are at risk.

AND CSM is is Jim Halpert
OR Journey Stage is is Foundation
Health is At Risk

Result: 4 matching accounts (Jim's foundation accounts + Jim's at risk accounts):

Alternatively, you could achieve the same results by starting with an OR operator and adding two filter groupings. This method requires you to duplicate criteria, but logically it produces the same result.

OR
AND
CSM is is Jim Halpert
Journey Stage is is Foundation
AND
CSM is is Jim Halpert
Health is At Risk

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request