---
title: The “or” Operator Should Not Be Used
description: "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…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/the-or-operator-should-not-be-used/"
updated: "2025-03-21"
category: Rules
---

# The “or” Operator Should Not Be Used

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](https://help.salesforce.com/s/articleView?language=en_US&id=sf.improving_report_performance.htm&type=5)
