Support for Logic Gates (AND/OR Combinations)

I would like to request support for mixed AND/OR logic

At the moment, Glide allows you to build a group of either:

  • All AND conditions
  • Or all OR conditions

But there is no way to combine AND and OR inside the same condition block — unless you build computed columns as workarounds.


Example of current limitation:
I want to show items when:

(Category is "B" OR Category is "C") AND Supplier is "D"

This type of logic is not possible directly in Glide today — you would have to precompute columns for each sub-condition, or duplicate screens. This gets very cumbersome as the app grows.


Why this matters:
:white_check_mark: Many real-world conditions require mixed AND/OR logic
:white_check_mark: Reduces the need for workarounds with computed columns
:white_check_mark: Saves screen duplication
:white_check_mark: Allows business users to model their processes more naturally
:white_check_mark: Common in many filter engines and UI builders


Workarounds do exist (using multiple columns with IF/Else or template columns), but true built-in support for this would dramatically improve Glide’s expressiveness and reduce complexity in larger apps.

3 Likes

Yes it is. You just need to approach things a bit differently. Observe:

  • If Supplier is not D, then null
  • If Category is B, then true
  • If Category is C, then true

That said, see below:

2 Likes

Yes, it is possible but it is a workaround not a built-in feature. I was just saying that if that would be a built-in feature it would be much cooler.

Why do you consider my example a workaround?
I don’t.

1 Like

It’s a solution for his problem, but it would be nice if Glide’s native filters were a bit more advanced. I’ve worked with systems built in 2009 and had this feature, and I’m sure that it would help and be used in hundreds, if not thousands, of apps.

1 Like

I am sorry if my words were not the best, your solution is great sir

1 Like

I don’t disagree with the feature request, in fact I voted for it (although it probably should be merged into Jeffs original feature request, so the votes aren’t diluted).

The point I was trying to make (not very well) is that the native if-then-else column is a lot more powerful than it might appear. And it is in fact possible to create quite complex matching logic within a single column.

2 Likes

I do agree on merging it.

1 Like

Thank you

1 Like

Thanks

1 Like

Hola!

Here we talked about this topic and the workaround as well Filtering data with AND and OR - #7 by gvalero

1 Like