Schema Theory

← Back to KPIs & Dashboards

Customer Lifetime Value (LTV)

Description

Customer Lifetime Value (LTV) estimates the total revenue a business expects from a customer over the entire duration of their relationship. It helps businesses understand long-term profitability per customer and make informed marketing, sales, and product investment decisions.

Visual Example

LTV Visual

DAX Formula

LTV = 
CALCULATE(
    DIVIDE(
        SUMX(
            VALUES(Customer[CustomerID]),
            CALCULATE(SUM(Sales[Revenue]))
        ),
        DISTINCTCOUNT(Customer[CustomerID])
    ),
    REMOVEFILTERS(Date)
)       

SQL Statement

SELECT
  SUM(s.Revenue) / NULLIF(COUNT(DISTINCT c.CustomerID), 0) AS LTV
FROM Sales s
JOIN Customer c ON s.CustomerID = c.CustomerID;

Usage Notes

Downloads