

How to use retail analytics to explain a change in store sales
Retail analytics measures sales, traffic, and inventory by store and category, so a retailer can see where results moved and act on the cause. To explain a change in store sales, compare only the stores open in both periods, over the same retail weeks a year apart. Split each store's sales into traffic, conversion rate, and average transaction value (ATV), then break the store that moved down by category.
The comparison set decides the answer, because a chain's total can rise while every older store shrinks: a new store's sales cover the losses. Take a specialty apparel retailer with four stores, the newest opened five months ago. Its head of store operations pulls the last four retail weeks against the same weeks a year earlier and finds total sales up 0.5% and comparable sales down 9.5%. Each of the three older stores fell for its own reason. We invented the retailer and its figures for this post and checked the arithmetic with a short script; none of it comes from a customer.
Oracle sorts the applications on its retail analytics and planning platform into descriptive and diagnostic first, then predictive, then prescriptive, with demand forecasting under predictive and assortment, pricing, and inventory optimization under prescriptive. Explaining a store's week belongs to the first two levels: what sold, and why it moved. It comes before forecasting for a plain reason. A forecast built on last month's sales repeats every move that nobody explained.
Step 1: Decide which stores and weeks count
Write the comparison rules down before you open a report, because every later number depends on them.
Start with the store list. Target's comparable sales exclude stores open less than 13 months and stores that have closed. Your rule can differ, but it should say how remodels and relocations count. In the apparel chain, Store D opened five months ago, so it stays out of the comparable set and gets a line of its own.
Then fix the calendar. Calendar months make poor comparisons: a month with five Saturdays set against one with four opens a gap that no store earned. The NRF 4-5-4 calendar divides the year into months of four, five, and four weeks, which ensures the same number of Saturdays and Sundays in comparable months. Every five to six years it adds a 53rd week, so flag that year before anyone compares it.
A few smaller definitions decide whether two periods line up:
- A transaction is a completed order. Shopify's conversion guide counts completed orders as transactions, however many items each one holds. Decide how returns and exchanges count.
- Traffic is the door counter's total by entrance and hour. Log a counter outage as missing data. A zero would look like a day nobody came in, which inflates conversion and blames the wrong driver.
- An online order picked up in store needs one home. Decide which store gets the credit.
- The category tree stays the same for both periods, so a reclassified product does not show up as growth in one category and loss in another.
Step 2: Track ten metrics at the level where each one moves
| Metric | Formula | Level | What it tells you |
|---|---|---|---|
| Net sales | Gross sales minus returns and discounts | Store, category, day | The outcome to explain |
| Comparable sales change | Sales change for stores open long enough to compare, against the same period last year | Chain, store | Growth from existing stores |
| Traffic | Visitors counted at the door | Store, hour | Demand that reached the store |
| Conversion rate | Transactions ÷ traffic | Store, hour | Share of visitors who bought |
| Average transaction value (ATV) | Net sales ÷ transactions | Store, category | Spend per purchase |
| Units per transaction | Units sold ÷ transactions | Store | Basket size |
| Sales per square foot | Net sales ÷ store square footage | Store | Productivity of the space |
| Sell-through rate | Units sold ÷ (units sold + units on hand at period end) | Category, SKU | How fast stock sells |
| In-stock rate | Active SKUs with stock on hand ÷ active SKUs | Store, category | Whether customers could buy |
| GMROI | Gross profit ÷ average inventory cost | Category | Return on inventory dollars |
Shopify's retail metrics guide uses the same formulas for sales per square foot, basket size, and GMROI, short for gross margin return on investment. Its sell-through report divides units sold by units sold plus units in inventory at the end of the period. Each size and color of a product counts as its own SKU, or stock keeping unit.
Three of these metrics multiply to net sales: traffic × conversion rate × ATV. Every step after this one rests on that identity. Large retailers report the same split one level up. Target's annual report breaks its comparable sales change into the number of transactions and the average transaction amount, and a store with door counters can split transactions once more, into traffic and conversion.
Step 3: Split each store's change into traffic, conversion, and ATV
The apparel chain's inputs cover four retail weeks this year (TY) and the same four weeks last year (LY):
| Store | Comparable | Traffic, LY to TY | Conversion rate, LY to TY | ATV, LY to TY |
|---|---|---|---|---|
| A | Yes | 10,000 to 9,000 | 25% to 25% | $60 to $60 |
| B | Yes | 8,000 to 8,000 | 30% to 26% | $50 to $50 |
| C | Yes | 6,000 to 6,200 | 20% to 20% | $75 to $70 |
| D | No | None to 6,000 | None to 20% | None to $30 |
As a check on the identity, Store A made 2,500 transactions last year (10,000 × 25%) at an average of $60, or $150,000 in sales.
Change one driver at a time, in a fixed order: traffic, then conversion, then ATV.
- Traffic effect = (TY traffic - LY traffic) × LY conversion × LY ATV
- Conversion effect = TY traffic × (TY conversion - LY conversion) × LY ATV
- ATV effect = TY traffic × TY conversion × (TY ATV - LY ATV)
The three effects sum to the store's change with nothing left over.
| Store | Sales LY | Sales TY | Change | Traffic effect | Conversion effect | ATV effect |
|---|---|---|---|---|---|---|
| A | $150,000 | $135,000 | -$15,000 | -$15,000 | $0 | $0 |
| B | $120,000 | $104,000 | -$16,000 | $0 | -$16,000 | $0 |
| C | $90,000 | $86,800 | -$3,200 | +$3,000 | $0 | -$6,200 |
| Comparable stores | $360,000 | $325,800 | -$34,200 (-9.5%) | -$12,000 | -$16,000 | -$6,200 |
| D (new) | $0 | $36,000 | +$36,000 | — | — | — |
| All stores | $360,000 | $361,800 | +$1,800 (+0.5%) | — | — | — |
All of the chain's 0.5% growth came from Store D's $36,000. The three comparable stores lost $34,200 between them.
Store A lost visitors. Traffic fell 10%, from 10,000 to 9,000, while conversion and ATV held: -1,000 × 25% × $60 = -$15,000.
Store B kept its 8,000 visitors and sold to fewer of them. Conversion dropped from 30% to 26%, which means 320 fewer transactions: 8,000 × (26% - 30%) × $50 = -$16,000.
Store C drew 200 more visitors at the same conversion rate, worth +$3,000 (200 × 20% × $75). Each transaction brought in $5 less, though: 6,200 × 20% × -$5 = -$6,200. The order of substitution matters at the margin. Run ATV first and Store C's split becomes +$2,800 from traffic and -$6,000 from ATV. Pick an order, write it down, and use it for every store and every week.
Rank the stores by dollar change before you rank them by percentage. A 20% drop at a small store can matter less than a 5% drop at the largest one. For the same reason, divide the total change by the total base when you report the chain; an average of store percentages gives the smallest store the same weight as the biggest.
Step 4: Break the store that moved down by category
When ATV is the driver, add units per transaction and average unit price, then look at the categories. Store C's split shows where its $5 per transaction went. For this table, in-stock rate means the share of a category's active SKUs with stock on hand, averaged across daily snapshots.
| Category | Sales LY | Sales TY | Change | In-stock rate LY | In-stock rate TY |
|---|---|---|---|---|---|
| Outerwear | $36,000 | $27,000 | -$9,000 (-25.0%) | 96% | 78% |
| Footwear | $30,000 | $33,000 | +$3,000 (+10.0%) | 95% | 96% |
| Accessories | $24,000 | $26,800 | +$2,800 (+11.7%) | 97% | 97% |
| Store C | $90,000 | $86,800 | -$3,200 | — | — |
Outerwear lost $9,000 while its in-stock rate fell from 96% to 78%. Footwear and accessories gained $5,800 together. Read category sales next to in-stock rates every time, because a category cannot sell a coat that is missing from the rack. The table makes empty outerwear racks the first lead. It does not prove they caused the drop.
Step 5: Test the likely causes, then call the store
Once you know the driver, you know which causes to test first:
- Traffic: counter health, weather, local events, and marketing reach.
- Conversion: staffed hours against hourly traffic, and the stock of top sellers.
- ATV: in-stock rates, promotions, and price changes.
Treat the driver as a lead until a test confirms the cause. Store B's conversion drop could come from short staffing, from missing stock, or from a change in how the till records transactions. Check each against the data, starting with the cheapest test.
Then call the store manager. A road closure outside Store A or a broken fitting room at Store B would never appear in a sales table, and the store manager would know about either one. Gravity's guide to investigating why a metric changed goes further into telling a driver's contribution apart from its cause.
Conversion accounts for the largest share of this chain's decline: $16,000 of $34,200, or 46.8%. A chain-wide conversion program aimed at that number would still miss Store A's lost traffic and Store C's outerwear stock.
Step 6: Repeat the split every Monday
For a handful of stores, a spreadsheet runs steps 3 and 4 well. POS reports cover the first layer: Shopify POS reports total sales by POS location, by product type, by vendor, and by staff member. Traffic counting vendors such as RetailNext connect foot traffic to transaction data to calculate conversion. A BI tool on the data warehouse can put every metric from step 2 on one dashboard. All of them tell the head of store operations that Store B fell. Working out why, every week, for every store, still falls to a person.
Gravity's analytics platform, Orion, can run that weekly split once the team has taught it how the chain reads a week. The head of store operations supplies the rules: which stores count as comparable, the 4-5-4 calendar, the fixed driver order, and what to check first when conversion drops. Orion stores them on Context pages and consults them every time it runs the split.
Only the people in the stores know some answers. When Store A's traffic falls, Orion can post a question for the team, such as whether a road closure cut access that month, and use the reply in later weeks. Before it asks, it can check the drop against rain and temperature at each store through its Weather source, which holds daily history back to 1940.
The same cards carry suggested analyses, and the store driver split is a natural first one. When the split reproduces the chain's own comparable sales and the team asks for it every week, Orion turns it into a Workflow and tests it with a dry run. Nothing is saved until the team approves. After that, each Monday's run names the driver behind every comparable store that moved, and the head of store operations decides what to do about each one.
Three stores, three separate fixes
In the example, the chain's growth belongs to a store that did not exist a year ago. Store A needs an answer about its traffic, Store B about why fewer visitors bought, and Store C about its outerwear stock. A single chain-wide target would have hidden all three behind a 0.5% gain.