Your best-selling customer may be losing you money: read the whale curve

Updated 2026-11-27 · 3 min read

Symptom

Revenue grows, profit does not, and nobody knows which customers cost money.

Cause

Gross margin hides the cost to serve.

Fix

Cumulative profit by customer, sorted from most to least profitable.

What it shows

Sort customers from most to least profitable and plot the running profit as a share of total profit. The curve rises above 100%, peaks, then falls back to exactly 100% because the last customers lose money. A peak at 140% means loss-making customers wipe out 40% of the profit made by the others.

The measure

Cumulative profit % =
VAR p = [Net margin]
RETURN
    IF ( NOT ISBLANK ( p ),
        DIVIDE (
            CALCULATE ( [Net margin], FILTER ( ALL ( Customer[Customer] ), [Net margin] >= p ) ),
            CALCULATE ( [Net margin], ALL ( Customer[Customer] ) ) ) )

Show it as a combo chart: margin per customer as columns (green above zero, red below) and the cumulative percentage as the line, sorted by margin descending.

What to do next

Look at the red customers: delivery frequency, small orders, rebates, payment terms. The fix is usually a change of terms, not losing the customer.

Keep learning

Generate a Power BI report for free