Analyze a customer's sales history