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.