← analytics

case study · retail customer analytics

Customer analytics at a grocery chain.

Which promotions paid for themselves, and how did customers change from one year to the next? Two questions I answered as an analyst on a decision science team.

Details are generalized to protect employer confidentiality.

context

I was an analyst on the decision science team at a regional grocery chain. I worked with customer and transaction data prepared by our data engineering team, and turned it into analysis and reporting for business stakeholders.

what the business needed to know

question 1

What's performing, and does promotion spend pay off?

Which products, stores, and promotions performed best, and whether promotional spend returned more than it cost.

question 2

How are customers changing year over year?

Who lapsed, who came back, and whether returning customers were spending more or less than the year before.

lapsedreturning · spend upreturning · spend downnew

what I did

  1. step 1

    Defined the segments.

    Wrote SQL to classify every customer by year-over-year behavior. Each customer was compared against the same window a year earlier, so "lapsed" and "returning" always meant the same thing in every report.

  2. step 2

    Measured promotions against a baseline.

    Compared results during promotions with expected performance without them to estimate the return on promotional spend.

  3. step 3

    Put it in front of decision-makers.

    Built dashboards and presented findings to business stakeholders, framed around the decisions each of them owned.

outcome

Business development managers got a consistent weekly view of customer and promotion KPIs to support their merchandising decisions.

tools

SQL · PySpark · Python · Databricks · Tableau

next step

Let's talk about your data.

Open to BI developer, BI analyst and data analyst roles.