Cross-sell rate: share of bike buyers who also bought accessories
Basket analysis at the customer level: of the customers who bought a bike in the period, what share also bought an accessory?
You will learn to
- Build the buyers of two categories as separate lists
- Find the customers who bought both with INTERSECT
- Turn the overlap into a cross-sell rate
How it works
**Cross-selling** is selling a second thing to someone who came for the first: a helmet with a bike. The cross-sell rate is the share of bike buyers who also bought accessories in the same period.
In this shop every order line holds one product, so “bought together” is measured per **customer**, not per order: a bike buyer counts when they also bought an accessory in the same period. You can’t get that from one filter. `CALCULATE([Customers], Product[Category] = "Bikes", Product[Category] = "Accessories")` asks for products that are both, and there are none.
Build two lists instead, one per category, with `CALCULATETABLE(VALUES(Sales[CustomerKey]), Product[Category] = …)`. `INTERSECT` keeps the customers on both lists. Divide that count by the number of bike buyers.
Practice it hands-on with a real data model and a live report that updates as you type.
Clothing Buyers Who Bought Bikes =
VAR ClothingBuyers = CALCULATETABLE(VALUES(Sales[CustomerKey]), Product[Category] = "Clothing")
VAR BikeBuyers = CALCULATETABLE(VALUES(Sales[CustomerKey]), Product[Category] = "Bikes")
RETURN COUNTROWS(INTERSECT(ClothingBuyers, BikeBuyers))