Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP
    • Segment best practices
    • Using segments
    • View segment usage and details
    • Understanding segment calculations
  • Data browser
  • Glossary
  1. Introduction to batch segmentation
  1. Sitecore CDP
  2. Introduction to batch segmentation
  3. Understanding the order of operations in segment calculations

Understanding the order of operations in segment calculations

Understanding the order of operations is important in knowing how a segment is calculated. The order that rules and filter groups display in the segment editor determines how the segment is calculated, and can affect results.

The following is the order of operations that Sitecore CDP uses to calculate a segment:

  • Evaluates segment rules within the same filter group.

  • Evaluates filter groups that are combined using the AND comparator.

  • Calculates any remaining segment rules and filter groups in the order they display.

If you have suggestions for improving this article, let us know!

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use