Jump to content

How to change list filter from OR logic to AND logic by sql or ironpython


devz powell

Recommended Posts

In the filter shown above (List box filter or similar), bydefault when I select single or multiple values, my dashboard is updated with OR logic (Data coming from any of the selected country). How can I implement the following SQL to get suppliers from common in selected countries.

select distinct a.supplier

from invoices a

join invoices b on a.supplier = b.supplier

where a.country = 'France' and b.country = 'Belgium';

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...