How can I filter with multiple "OR" statements?


I want to filter deals that have field X value = Y OR field Z value=W. I cannot find how to add an OR operator, I can only filter with AND operators. See screenshots for my attempts.
Answers
-
In Pipedrive, by default, you can only apply filters with AND operators, and there’s no direct way to apply an OR condition in the UI. However, you can use Pipedrive’s API to create more complex filters, including the OR operator between fields. For example:
GET /deals?filter_id=your_filter_id&field_x=Y&OR=field_z:W
This allows you to customize your query to filter deals based on multiple conditions, where either Field X equals Y or Field Z equals W.
0 -
Hello @AlexanderC,
In addition to the option with API mentioned by Alex above, you could also try placing both conditions under the ANY section, which acts as an OR condition, see an example:
We hope this helps!
1 -
Thanks both, very useful!
Can you also help with this: How can I filter to only see leads that have had at least one activity of type="Follow Up" but only after thay have passed through a specific pipeline stage (specifically, "Joined a demo")? Is it possible?
I want to find all leads that have joined a demo at some point in the past and have at least one follow-up after that (and the opposite, no follow-ups)0