Reactivated customers: won back after a two-month gap

Count the customers who bought this month after buying nothing in the previous two months, but who had bought before: your win-backs.

You will learn to

  • Combine three customer lists: this period, the recent gap and all earlier history
  • Chain INTERSECT and EXCEPT to express “bought before, but not recently”
  • Tell reactivated customers apart from brand-new ones

How it works

A **reactivated** customer went quiet and came back: they buy this month, bought nothing in the recent past, but **had** bought before that. Counting them tells you whether win-back campaigns work.

It takes three lists of `Sales[CustomerKey]`: - this period’s buyers, `VALUES(Sales[CustomerKey])`; - the recent gap: the two months before the period, `DATESINPERIOD('Date'[Date], PeriodStart - 1, -2, MONTH)`; - everyone who bought **before** the period: a filter `'Date'[Date] < PeriodStart`.

Intersect this period’s buyers with the earlier buyers (that removes brand-new customers), then use EXCEPT to remove anyone who also bought during the gap. What remains came back after a break.

Practice it hands-on with a real data model and a live report that updates as you type.

Dormant Customers =
VAR PeriodStart = MIN('Date'[Date])
VAR Recent = CALCULATETABLE(VALUES(Sales[CustomerKey]), DATESINPERIOD('Date'[Date], PeriodStart - 1, -2, MONTH))
VAR EverBefore = CALCULATETABLE(VALUES(Sales[CustomerKey]), 'Date'[Date] < PeriodStart)
RETURN COUNTROWS(EXCEPT(EverBefore, Recent))