Introduction
Level of Detail (LOD) expressions in Tableau help you calculate values at different levels of detail than the view. This is useful when you want to find things like a customer's first purchase date or group customers into cohorts based on their first purchase.
When you want to find the first purchase date for each customer regardless of the current view filters.
When you need to create customer cohorts based on the month or year of their first purchase.
When you want to calculate metrics like retention or repeat purchases by cohort.
When you want to compare individual transactions to overall customer behavior.
When you want to fix a calculation at the customer level while showing data at a more detailed level.