# Visibility conditions - AND/OR

**URL:** <https://community.glideapps.com/t/visibility-conditions-and-or/78213>\
**Category:** Ask for Help\
**Created:** [November 26, 2024, 9:05pm UTC](https://community.glideapps.com/t/visibility-conditions-and-or/78213 "2024-11-26T21:05:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas\_Maldonado](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nicolas_maldonado/32/36477_2.png) [@Nicolas\_Maldonado](https://community.glideapps.com/u/Nicolas_Maldonado)\
**Post date:** [November 26, 2024, 9:05pm UTC](https://community.glideapps.com/t/visibility-conditions-and-or/78213/1 "2024-11-26T21:05:25Z")

</div>

Hi everyone,

I’m trying to set up visibility conditions but running into limitations with the AND/OR operators. Currently, the system only allows me to choose AND/OR once for all conditions, but I need to implement this specific logic:

(Property is ‘COD08-Carlos Lleras’ AND Role is ‘Investor’) OR (Role is ‘Admin’)

The current interface only lets me do:

- Property is ‘COD08-Carlos Lleras’ OR Role is ‘Investor’ OR Role is ‘Admin’ or
- Property is ‘COD08-Carlos Lleras’ AND Role is ‘Investor’ AND Role is ‘Admin’

Is there any way to create more complex conditional logic like nested AND/OR operations? Or perhaps a workaround to achieve this type of visibility control?

Thanks in advance for any help or suggestions!

 ![Screenshot 2024-11-26 at 3.54.53 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/0/609d097bb2ad8fe4c6636807ea2a96b325210e84.png)  
 ![Screenshot 2024-11-26 at 4.04.56 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/5/d52169461a930345f8d40a9a713ccb290af6029b.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 26, 2024, 9:16pm UTC](https://community.glideapps.com/t/visibility-conditions-and-or/78213/2 "2024-11-26T21:16:56Z")

</div>

I recommend creating an IF column in the table like this, and then filter by that column.

```auto
IF Property is not 'COD08-Carlos Lleras' THEN false
ELSEIF Role is 'Investor' THEN true
ELSEIF Role is 'Admin' THEN true
ELSE false

```

Or do you mean something like this where property and admin aren’t associated?

```auto
IF Role is 'Admin' THEN true
ELSEIF Property is not 'COD08-Carlos Lleras' THEN false
ELSEIF Role is 'Investor' THEN true
ELSE false

```

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [November 27, 2024, 12:15am UTC](https://community.glideapps.com/t/visibility-conditions-and-or/78213/3 "2024-11-27T00:15:19Z")

</div>

Do you have any other roles than Investor and Admin?

I assume would also have more types of properties than COD08-Carlos Lleras?
