# Combining AND/OR filter conditions

293
2
11-27-2023 02:16 AM
by
New Contributor II

Hi everyone,

I'm trying to make an indicator dashboard to display a simple statistic about some data but I'm a bit baffled by the apparent lack of brackets when combining AND/OR filter conditions. This help page...

https://doc.arcgis.com/en/dashboards/latest/get-started/filter-data.htm

...gives the example expression = condition1 AND condition2 OR condition3, which I think is treated as expression = (condition1 AND condition2) OR condition3 but there doesn't seem to be any way to construct expression = condition1 AND (condition2 OR condition3)

I need to be able to use brackets to set some complex logic but this doesn't seem to be an option - am I missing something really obvious here or am I stuck?

Thanks a lot!

1 Solution

Accepted Solutions
New Contributor III

Have you tried (condition1 AND condition2) OR (condition1 AND condition3)?

2 Replies
New Contributor III

Have you tried (condition1 AND condition2) OR (condition1 AND condition3)?

by
New Contributor II

That works, thank you so much!