The problem
Field sales representatives at a B2B wholesaler manage large customer portfolios and must decide where their time is most likely to produce incremental revenue. Existing recommenders identified relevant products but did not quantify the size of each opportunity. A partner feed contained a field described as article-level revenue potential, but validation showed it was constant per article and branch and approximately 10 to 100 times larger than plausible annual customer spend for many products.
What was built
The estimator compares each customer with statistical twins: high-performing, operationally similar businesses, grouped by branch, home store and country. Within a peer group, the benchmark is the top decile by annual spend. Open potential is the benchmark spend on an article minus the customer's own spend, floored at zero and annualized. A sales representative can read it directly: similar successful businesses buy about this much, and this customer buys less or nothing.
The median peer cell held only approximately 18 customers, so the estimator includes stability rules:
- A minimum number of article buyers before a benchmark is accepted
- Median and trimmed statistics to limit outlier influence
- A four-level fallback, from branch × store to branch family × country
Prices use a fresh partner price where available and reliable, otherwise the invoice-implied realized price, approximately 7% below list overall. The estimator is plain SQL, executed in the analytical warehouse, with no separate inference infrastructure.
Results
On approximately 240,000 held-out customer-article pairs, the statistical method outperformed a gradient-boosted quantile-regression model: rank correlation 0.55 against 0.49, calibration ratio 1.05 against 0.25, coverage 100% against 71%. The simpler method was selected for the initial production use case, with delivery designed to start as a batch export to the field-sales CRM. The comparison is proxy validation against historical spend. Causal validation, whether customers buy after a sales intervention, awaits post-intervention point-of-sale data, and the evaluation harness for it is already in place.
Where it applies
The pattern transfers to organizations that must prioritize sales opportunities while causal ground truth is incomplete, and where explainability, coverage and adoption matter more than machine learning for its own sake.