# Multiple And Or Rules

**URL:** <https://community.glideapps.com/t/multiple-and-or-rules/14169>\
**Category:** Feature Requests\
**Created:** [August 19, 2020, 5:25am UTC](https://community.glideapps.com/t/multiple-and-or-rules/14169 "2020-08-19T05:25:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yasin\_Hassanien](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yasin_hassanien/32/9042_2.png) [@Yasin\_Hassanien](https://community.glideapps.com/u/Yasin_Hassanien)\
**Post date:** [August 19, 2020, 5:25am UTC](https://community.glideapps.com/t/multiple-and-or-rules/14169/1 "2020-08-19T05:25:49Z")

</div>

We need to have an AND Rules combined with an OR rule, example

Visibility if

User is Super Admin OR User is Manager  
And  
User Team is not Empty

---

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [August 19, 2020, 5:46am UTC](https://community.glideapps.com/t/multiple-and-or-rules/14169/2 "2020-08-19T05:46:35Z")

</div>

Hello,  
I had the same problem and couldn’t find an elegant solution.  
I just added a “Math” type column for SuperAdmin + User Manager (value boolean !!)  
Then in Filter I made an AND between my math column and “User not Empty”

But hey, maybe another user has another solution

---

<div class="post-metadata">

**Author:** ![Manu.n](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manu.n/32/11679_2.png) [@Manu.n](https://community.glideapps.com/u/Manu.n)\
**Post date:** [August 19, 2020, 5:51am UTC](https://community.glideapps.com/t/multiple-and-or-rules/14169/3 "2020-08-19T05:51:52Z")

</div>

But like you, I hope that we will soon have more option to avoid this solution.

---

<div class="post-metadata">

**Author:** ![Manan\_Mehta](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/manan_mehta/32/13957_2.png) [@Manan\_Mehta](https://community.glideapps.com/u/Manan_Mehta)\
**Post date:** [August 19, 2020, 6:37am UTC](https://community.glideapps.com/t/multiple-and-or-rules/14169/4 "2020-08-19T06:37:56Z")

</div>

So for this you could create a new column in your data editor using “if then else”  
Play with conditions in that column like,  
Condition 1: If User team is Empty then False  
Condition 2: If User is Super Admin then True  
Condition 3: If User is Manager then True  
Else False

Then use this column for your visibility with the condition “Show when column is True”

One thing to note, if then else also checks the first condition and then moves to the second so everytime you want to achieve something like this, you will have to create a logic which returns True in all the conditions you need it to be visibile.

Hope this helps!
