Pipedrive multiple filters - pipedrive-api

I am currently working on an integration that involves filtering persons based on multiple fields and multiple values per field, through the API.
As far as I know, it is not possible to implement the following type of filter using the API:
Custom Field A with an "OR" operator between the options: option-1 OR option-2 OR option-3
"AND"
Custom Field B with an "OR" operator between the options: option-4 OR option-5 OR option-6
"AND"
Custom Field C with an "OR" operator between the options: option-7 OR option-8 OR option-9
Could you kindly confirm if this type of filter is not supported by the API?
Thank you.

Related

Is there a way to query two indexes and join the result in Opensearch/ElasticSearch (Just like we do in RDBMS)

My requirement is
I have a deeply nested filter condition
Params from filter condition is located in two elastic search indexes
I need to pass the filter condition as query and get results which are joined by a field
The existing way is to use two indexes comma separated and searching but is supports only or - should condition. Reference : https://discuss.elastic.co/t/query-multiple-indexes-but-apply-queries-to-specific-index/127858
I need a way to support to and - must condition also.
Is there a possibility to do that? Thanks in Advance

How to add filter to a custom query on Data Studio?

I'm building a dash using Data Studion and I need to create a custom query using CASE WHEN statments. The problem is that the conditions must be the values selected through a filter. How can I get the value selected on the filter and use it as a parameters on my query?
you can not , the only parameter that can be passed from a filter is dates as per this documentation https://support.google.com/datastudio/answer/6370296?hl=en
all you can do is vote for this feature request
https://issuetracker.google.com/issues/142183085

How to query with a condition "or " on Prismic API?

I'm using the prismic API, and I'm usin Predicate function to search the API. When we combine several Predicate, it searches with the "AND" clause, while I would like to have "OR". If the API doesn't offer it, how can I search by filter ?
Unfortunately the Prismic API doesn't support "OR" operations like this.
Some cases can be handled by using the "any" Predicate:
https://prismic.io/docs/laravel/query-the-api/query-predicates-reference#31_0-any
But most of the time you'll need to run multiple queries and handle the logic in your website application.

Perform 'Is one of' filter using Dynamics365 Odata filter

When filtering in fields on D365, we have the filter option of 'is one of' which is more like SQL's where in clause. I'm trying to perform such filter operation using Odata but can't find the right way. Lambda has an any and all but don't know how to throw in a list to compare against.
Try using the In Function.
?$filter=Microsoft.Dynamics.CRM.In(PropertyName=#p1,PropertyValues=#p2)&#p1='name'&#p2=['value','value']
The full list of filter's.

Drupal Views Complex Grouped Filters

I have a Math Expression ($field_a - $field_b) that I want to create an exposed grouped filter for (select-list) so that I can effectively filter out my results.
How can I set this up so that users will be give two options based on the values of two field?
I ended up creating a custom field handler for this purpose.

Resources