Loading section...

Comparison operators (<, >)

Numeric and date comparisons let you filter based on relative values rather than exact matches. These operators compare values to find things that are bigger, smaller, or within a range. They work with numbers and dates. Comparison operators: Example: Greater Than Working with Ranges Boundary conditions determine whether the exact threshold value is included or excluded from results. Inclusive vs Exclusive The difference matters when you hit the exact boundary number. Watch how the filter checks each row against the threshold. Stock values of 10 or less pass through (5, 10, 3, 8). The value 15 is filtered out because it exceeds the threshold. Notice that 10 itself is included because the operator is <= (less than or equal). Example: Less Than or Equal Use <= to find values at or below a th