Explainer

What is retail analytics?

Retail analytics is the work of using store, product and customer data to make stock, pricing and distribution decisions measurable: how much to buy, which store it goes to, when to reorder and when to mark it down.

Whenever I talk about this work, the first question is always the same: “So what exactly is retail analytics? You make reports?” When I give the definition, people nod politely and come away none the wiser. Then I explain it through a single product, and it clicks.

This article is that product. Every other article on the site opens up one part of the question; this is where they all start.

Reports or decisions?

Pelin has just joined the planning team at Lumoda. Lumoda is a fictional fashion chain: 84 stores and an online channel. It is Pelin’s first week. At the coffee machine Pelin runs into Pars, the company’s retail analyst.

“So what is it you actually do?” Pelin asks. “Make the reports?”

Pars laughs, because everyone asks that.

“A report tells you what happened. I try to say what to do about it. Take a jumper. Black, roll neck. How many decisions do you think we make about that one jumper in a year?”

Pelin thinks about it. Pars starts counting them off.

“Months before the season starts: how many to make. When the stock lands in the warehouse: how many go to which store. Once it starts selling: when, and how much more, to send from the warehouse. If it sells faster than expected: whether to place a repeat order with the supplier. If it sells out in one store and sits in another: whether to move stock between them. And at the end of the season: when to mark down what is left, and by how much.”

“Six decisions,” says Pelin. “But somebody makes those already.”

“They do. Mostly in Excel, partly on gut feel. The problem isn’t that the decisions get made. It’s that nobody can measure how well they were made.”

Counting the decisions

Pelin doesn’t look convinced. Six decisions sounds like something a handful of people can manage. Pars opens a laptop.

“Let’s look at the last spring-summer season. We bought 250 optionsThe combination of a model and a colour; the basic product unit for planning and for transfer decisions. for it, that is, 250 separate model-colours. With their sizes, that’s 1,166 products. We had 79 stores open throughout the season.”

Then Pars pulls up an ordinary Monday morning in the middle of the season. The shelves don’t hold just this season’s lines; there are the basics sold every season and the leftovers from last season too. Count everything, and that morning there is stock in 14,457 separate store-option pairs. Each one gets the same question: is this colour right for this store, too much, or too little? Go down to size and the number becomes 59,794.

The season runs for 29 Mondays. At option level alone, for that one question alone, the decision is taken 350,414 times over the season.

“Nobody does that in Excel,” says Pars. “They look as if they do. Someone checks the top hundred sellers, and everything else is left to last week’s rule.”

For the first time Pelin looks a little alarmed. Pars carries on.

“Retail analytics is there for everything else. A system that looks at every store-option pair with the same rule, a rule that is written down, with a result you can measure.”

A definition

Here is the answer to Pelin’s question:

Retail analytics is the work of using store, product and customer data to make stock, pricing and distribution decisions measurable.

There are three things in that definition, and all three are needed:

  • Data. The decision is fed by records of sales, stock, shipments and prices, not by experience.
  • An explicit rule or model. The decision lives not in someone’s head but in a calculation anyone can read. The rule can be simple; what matters is that it is written down.
  • Measurement. Afterwards, you can say in numbers whether the decision was a good one. This third part is the one most often skipped, and without it the first two turn into a guessing game.

How is it different from business intelligence?

Business intelligence and retail analytics often get mixed up. The easiest way to show the difference is with three questions:

  1. What happened? How many of this jumper did this store sell last week?
  2. What will happen? How many will it sell next week?
  3. What should we do? How many do we send from the warehouse? Do we pull some from another store, or leave it alone?

Business intelligence answers the first question well: reports, dashboards, breakdowns. Retail analytics wants all three, but its real business is the third. A report is read and closed; the output of analytics is a shipment list, an order quantity or a markdown rate.

There is a trap here. The first question is not as easy as it looks. If the jumper sold out in a store on Wednesday, that store shows zero sales on Thursday and Friday. But demand wasn’t zero: customers came in, found an empty rail and left. A report shows the sales that happened, not the demand. That gap is called censored demandDemand that arrives while the shelf is empty and is never recorded. Sales data show not demand but the smaller of demand and stock., and any forecast made without seeing it undercounts demand wherever stock ran out. So even “what happened?” needs analytics.

Which decisions does it cover?

A fashion chain’s year splits roughly into three parts, and the map of this site is built the same way:

  • Pre-season. The budget plan, how many products and colours make up the collection, the opening price, the size mix, which groups the stores fall into. There is no stock yet; the decisions rest on forecasts.
  • In-season. Initial allocation, replenishmentSending warehouse stock to stores at regular intervals, according to sales. In the trade it is also shortened to AR or repl; RPT is something else. from warehouse to store, the repeat orderRPT; reordering from the supplier a product that is selling better than expected in-season. It is not a shipment from the warehouse to stores. to the supplier, transfers between stores, markdowns and promotions. The stock is on the shelf and the customer hasn’t read the plan; decisions are corrected against real sales.
  • Other processes. Choosing suppliers, measuring lost sales and slow-moving stock, warehousing and logistics, customer analytics. They are not tied to a moment in the season; they run underneath all of it.

So far I have written four of them up end to end. Each starts with a story, builds the model and solves it on the Lumoda data. They are published in the Turkish edition and are being written in English:

  • Block transfer: moving, in bulk, stock that sits in one store and would sell in another.
  • Warehouse to store: which store gets how much of the limited stock in the warehouse.
  • Repeat order (RPT): having a product that sells faster than expected made again by the supplier.
  • Lost sales: measuring the sales lost to missing stock, and showing whose responsibility they were.

What data does it work with?

In most companies the data is already there, sitting in the ERP:

  • Sales: by day, store and product, returns included.
  • Stock: in store and in the warehouse, snapshots taken at regular intervals.
  • Shipments and orders: stock sent to stores and orders placed with suppliers.
  • Prices and promotions: which product sold at which price in which week.
  • Plans: the budget, the range plan and store targets.
  • Customers: receipts, loyalty cards, online behaviour, reviews.

Lumoda has all of these, and they can be downloaded from the dataset page. The sales table alone is about 18 million rows.

The hard part of that list isn’t finding the data; it’s getting the tables to speak the same language. “Product” can mean one thing in the sales report, another in shipments and a third in the plan. That is why the next article is about the shared language underneath every algorithm: Product hierarchy — model, option, SKU.

What makes it hard with your data

At Lumoda things are easy, because we generated the data ourselves. In a real chain three things make the job harder:

  • Data quality. Stock counts don’t add up, transfers get booked twice, a return lands on the wrong store. The first weeks of analytics are often spent cleaning data rather than building models.
  • No referee. At Lumoda we know how much customers really wanted to buy, because we wrote it. In the field nobody knows. Showing that an algorithm is good is harder than building it.
  • Who sets the rule. When a system makes a decision, who signs it off, who can challenge it, and what happens when they do? Until those questions are answered, even the best model goes unused.

Coffee finished, Pelin has one last question.

“So you don’t make reports.”

“I do,” says Pars. “But every report should end with a ‘so’.”

Every article on this site is about one of those “so”s. 🙂

By Sabri Suyunu