Using “OR” in a screener query requires caution due to how queries are evaluated, with "AND" taking precedence over "OR". The outcome of your query can significantly differ based on your use of brackets. 


For example: 

 

(Net Profit TTM Growth %  > 15  OR 

 Net Profit QoQ Growth %  > 20)  AND 

 ROE Annual %  > 40    


This yields 134 results, as the brackets limit the “OR” condition to just two filters: Net Profit TTM Growth% and Net Profit QoQ Growth%.


Now, if you run the same query without brackets:


Net Profit TTM Growth %  > 15  OR 

 Net Profit QoQ Growth %  > 20  AND 

 ROE Annual %  > 40 


It gets over 300 results because, without brackets, “OR” is applied to all subsequent conditions, making all of them optional.