Conditions - maneeshpal/Drata GitHub Wiki
Drata allows you to apply complex conditions to filter out unwanted data from visualization. Conditions, like selections can be nested without any limitations to the depth.
Expression
A sql inspired summary is dynamically generated while you build conditions for extra visibility.
images/plus.png Converts a simple condition to compound/complex condition allowing you to nest conditions.
Ex: (a > b) is a simple condition Ex: (a > b or (c < d and e = f)) is a complex/compound condition resulted via grouping one or more conditions thereby nesting your conditions.
Simple condition
A flat condition without any nesting. There is no order of precedence in this condition. All operations are processed from left to right.
For example, if your condition is price < 455 or discount = 30 and tax < 40, then even though and has more precedence over or, the condition is processed from left to right. So, drata will process price < 455 or discount = 30 condition followed by and tax < 40 to the result of the previous result.
Complex/Compound condition
So, if you need to have an order of precedence, create a single complex condition by expanding a condition using images/plus.png and nest your operations inside it.
For example, (price < 455 or discount = 30 and tax < 40)