# OR conditional rules for visibility

**URL:** <https://forum.adalo.com/t/or-conditional-rules-for-visibility/23526>\
**Category:** Get Help\
**Created:** [February 17, 2022, 6:29pm UTC](https://forum.adalo.com/t/or-conditional-rules-for-visibility/23526 "2022-02-17T18:29:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [February 18, 2022, 2:56am UTC](https://forum.adalo.com/t/or-conditional-rules-for-visibility/23526/2 "2022-02-18T02:56:44Z")

</div>

Hi @tbtilton ,

Take a look at this post,

> [@Filtering posts based on matching relationships (fruit matching posts)](https://forum.adalo.com/t/filtering-posts-based-on-matching-relationships-fruit-matching-posts/23164/4):
>
> Hi @sammccolgan , I have updated the app, you can clone again. To save time, the password is the first letter of the email. I introduce OR function too, which is basically greater than 0. There are 2 types of filter matching, 1-to-M which can be used for quick search and M-to-M which can be preferences. I hope this can shine some light of what Adalo is capable despite its shortcomings. This platform is really powerful which even enable us to push boundaries of common app in the context of …

AND is derived from count relation=count preference  
OR is derived from count relation\>0

If you want to have OR AND in action conditional, search for Binary Total, it is a proxy variable that we need to update first, so we can use them in single expression conditional.

---

_[View the full topic](https://forum.adalo.com/t/or-conditional-rules-for-visibility/23526)._
