LOD expressions, also known as Level of Detail expressions, enable computation of values at both the data source and visualization levels while providing control over the desired level of granularity for computation. This can be achieved by performing expressions at a more granular level (INCLUDE), less granular level (EXCLUDE), or an entirely separate level (FIXED).
- Fixed LOD expressions: These expressions compute a value at a specified level of aggregation regardless of the visualization filters applied to the view. They are denoted by enclosing the dimension(s) in curly braces { } and are useful when you want to aggregate data at a higher level of detail than the view’s current level of detail.
- Include LOD expressions: These expressions let you specify a dimension or dimensions to include in the computation of an aggregate value. They are denoted by the keyword INCLUDE and can be used to create a dynamic set of values based on one or more dimensions.
- Exclude LOD expressions: These expressions let you specify a dimension or dimensions to exclude from the computation of an aggregate value. They are denoted by the keyword EXCLUDE and can be used to create a dynamic set of values based on one or more dimensions.
FIXED LOD:
Example: Calculate the Maximum Sales per Order

Example 2: When did the Customer Order Last?

