Introduction
LOD expressions in Tableau let you control how data is grouped and summarized. They help you get precise totals or averages by fixing the level of detail, no matter what filters or views you use.
When you want to calculate sales totals by customer even if your view shows data by region
When you need to find the average order size per product regardless of the current filters
When you want to compare individual store sales to overall company sales in the same chart
When you want to keep a fixed calculation even if users slice data differently
When you want to create ratios or percentages based on a specific grouping