+ Add Question

Boolean Operator Search Question

JP

Hello,

I'm attempting to use a single search to pull in three different labels for a single day. I have many unlabeled items in Today, but I only want to see the ones with specific labels on them.

Bellow is the search I'm doing. I end up only getting the @smallthing for today results. It seems to only respect the last "or" statement, I've shuffled the query around and only get the final statement.

(today) & @bigthing | (today) & @mediumthing | (today) & @smallthing

Am I doing too much, or is there a better way to accomplish what I'm looking for?

All responses

Brendon Wadey staff
Replied on Aug 12, 2013 - 11:26

Hi Josh,

There are a few ways you could do this, but to make things easy, the correct syntax should be.

(tod & @bigthing) | (tod & @mediumthing) | (tod & @smallthing)

Let me know if you have any issues.

Thanks,
Brendon.

JP
Josh Petro premium
Replied on Aug 12, 2013 - 11:28

Sweet! That does exactly what I need.

Thank you, Brendon