The “or” Operator Should Not Be Used

< 1 min read

Impact Area

Performance

Severity

Medium

Affected Element

Report

Rule ID #

SF-0137

Impact #

Selective filters generally work faster than more general ones, all else being equal. Try to make your filters as selective as you can.

Remediation #

Choose and rather than or for filter logic.

Time to fix #

30 min

References #

See the Salesforce documentation resource: Improve Report Performance > Best Practices

Updated on March 21, 2025
Was it helpful ?