Observer Apex : Observer Apex : Apex filters : Boolean operators used in filter expressions
Boolean operators used in filter expressions
Use Boolean operators to build complex filters that find exactly what you are looking for in your dashboard.
 
These words or characters can be used to build very complex expressions. Filters containing multiple operators are evaluated using the order shown below. In other words, everything inside of parentheses is evaluated first starting from the innermost group and moving outwards, then any NOT operators are considered, then AND operators, and finally OR operators. To ensure that an expression containing multiple operators works as you intend, use parentheses to group items together.
( )
Used to group words or phrases and to show the order in which the groups should be evaluated (innermost group first).
Example: ip 192.168.1.15 and app HTTP
Example: ((ip 192.168.1.15 and app HTTP) or (ip 192.168.1.15 and app HTTPS)) and ((browser 'Chrome') and not (browser 'MSIE' or browser 'Firefox'))
not or !
Show only items that do not meet the expression.
Example: not app http
Example: ! app http
and or &&
Show only items that contain all of the expression items.
Example: ip 192.168.1.15 and app HTTP and browser 'Chrome'
Example: ip 192.168.1.15 && app HTTP && browser 'Chrome'
or or ||
Show only items that contain any of the expression items.
Example: browser 'MSIE' or browser 'Firefox'
Example: browser 'MSIE' || browser 'Firefox'