Sales Analytics — Guide · 2026

Sales Performance Analysis: Step-by-Step Guide & Metrics

Work through a fictional distributor’s regional sales decline, compare periods and targets, check customer changes, and choose the next action.

Anubhav17 min read

Sales increased—but did performance improve?

During your quarterly report, you come across conflicting results: your revenue has increased, but your gross profit has fallen. Maybe more units were sold, prices were higher, or there was a different combination of products. Now you don't know where to start, which data to look at, or what caused the change, so you can pinpoint the issue and fix it.

With sales performance analysis, you have the opportunity to explore these questions. You can start with a specific business question, establish a reliable comparison method, work through the records behind the change, and choose a response you can follow up on. This guide walks through that process using a fictional distributor's regional sales decline.

About the example: All customer labels, sales amounts, targets and order counts in this guide are synthetic. They are not results from an actual customer. The product screenshots show this synthetic data analyzed in Anomaly AI; download the sample workbook (Excel) to reproduce the figures.

What is sales performance analysis?

The purpose of sales performance analysis is to evaluate your sales results and see if sales have improved compared with a set period in the past, like last month or quarter, what drove those changes, and how and why sales improved, so you can decide your next steps.

It can help you examine the whole business or a particular region, sales rep, customer or product. The measures you choose depend on the question and the records available. The table below lists the core sales performance metrics, often called sales KPIs, used in this guide.

Sales performance metrics (KPIs): how to calculate them and what they show

MetricHow to calculate itWhat it helps you assess
Net salesInvoiced sales less discounts and sales returns, under a consistent accounting definition.The recorded sales value after reductions.
Units soldSum quantities using consistent units and pack sizes; state how returns are treated.Whether recorded sales quantities changed.
Gross profitNet sales − corresponding cost of goods sold.The gross profit dollars earned.
Gross margin percentageGross profit ÷ net sales × 100.The share of net sales retained after product costs.
Purchasing frequencyDistinct qualifying orders ÷ customers in a consistently defined group, over a stated period.How often that customer group purchased.
Average order valueSales value attributed to qualifying orders ÷ distinct qualifying orders.The average value of those purchases.
Target attainmentActual result ÷ target × 100, using matching definitions and periods.How much of the planned result was achieved.

A useful analysis will provide you with a supported explanation, help you figure out what is uncertain, and specify what comes next or help you dig deeper. Identifying the customers accounting for a decline is only a numerical finding; explaining why they bought less will require additional evidence.

Start with the question you need to answer

Before you start your analysis, define the questions you are trying to answer. This will help you decide what you are trying to understand. There can be multiple nuances, and finding the question you want to answer can be difficult when multiple signals are coming through. For example: "Which reps missed their targets?", "What accounts for a region's sales decline?", "Are existing customers ordering less frequently?" and "Why did revenue rise while gross margin percentage fell?" These are the questions we are trying to answer in this analysis.

Which reps missed their targets?

Compare each rep's actual sales with their target to see the gap and how much they were supposed to achieve. When you do that, make sure you are comparing the same period and using the same sales definition. A $100,000 January target for net invoiced sales should be compared with January net invoiced sales. A customer may pay in January for a $20,000 invoice issued in December. That money counts as January cash collected, although it came from a December sale.

What accounts for a region’s sales decline?

After looking at how much sales fell between the two periods, we have to check which customers' buying frequency decreased or which products were sold in much smaller quantities. We also have to check whether sales of certain products increased, which may reflect higher prices or more units sold.

You’ll need sales records showing the date, customer, product and region. These show where sales have changed, and to understand why, you may also need to check orders, delivery records or notes from customer conversations.

Are existing customers ordering less frequently?

You will have to compare how often the same group of existing customers ordered over two periods. This includes customers who didn't place any orders; when preparing the data, make sure they are not left out.

Count each order once. An order containing five products is one order, not five purchases. Check whether customers ordered less often, bought less each time, or both.

You can look at their past records to understand the buying patterns and frequency of that group.

Why did revenue rise while gross margin percentage fell?

Check whether you sold more items or units, prices changed, discounts were given, the return rate was high, or you sold different types of products that made up the higher revenue. For the sales you’re reviewing, you need the quantities sold, sales value after discounts and returns, and the cost of those products.

Look at both gross profit and gross margin percentage. Gross profit is sales minus product costs; gross margin is the percentage of sales left after those costs. You can earn more gross profit overall while keeping a smaller share of each sales dollar. Calculate the overall margin using total gross profit ÷ total net sales × 100, rather than averaging each product’s percentage. To track gross margin alongside other finance measures, see the financial dashboard guide.

For each question, you will have to decide what you are going to measure, what to compare it with and which records you need. You won't be able to assess performance against a target without having a target, or calculate margin without product costs. If your findings are not able to explain the problem, then you have to check each possible explanation against the records.

How to analyze sales performance: a worked example

Let's assume a distributor wants to understand why sales have declined in the West region. Its previous-year export covers April 1–June 30, 2025, while its current-year export is complete only through June 15, 2026. Because of that, the periods we are going to measure will be April 1–June 15 in both years.

The sales file contains invoice or credit dates, document and line IDs, customer IDs, product IDs, sales reps, credited regions, quantities, discounts and sales values. To calculate gross margin, you need the cost of the products sold. A separate record shows the West region’s net sales target for the same period, so you can check whether actual sales met the plan.

1. Check your data and comparison periods

First establish whether the apparent decline uses comparable records. The original exports show $150,000 for the full prior-year quarter and $110,000 for the current partial quarter. Comparing them suggests a 26.7% decline, but one includes fifteen more calendar days.

Comparison scope2025 net sales2026 net sales
Original exports: Apr 1–Jun 30 versus Apr 1–Jun 15$150,000$110,000
Matched periods: Apr 1–Jun 15 in both years$120,000$110,000

Use matching dates before measuring the decline

Anomaly AI insight comparing West net invoiced sales: the full 2025 export totals 150K USD, matched April 1 to June 15 2025 totals 120K USD and matched 2026 totals 110K USD.
Anomaly AI separates the full 2025 export (through June 30) from the matched April 1–June 15 periods. Synthetic example data from this guide.

Restrict the previous year to June 15 and confirm that the current export includes all relevant records through that date. You also have to make sure you are accounting for the time zone. If trading days, holidays or a fiscal-calendar difference materially affect the comparison, disclose them as well.

  • Measure sales the same way in both periods. Here, we use sales in USD after discounts and recorded returns, excluding sales tax. Count sales on the invoice date and returns on the date the credit was recorded. Use the costs linked to those same sales and returns when calculating gross profit.
  • Make sure customers and products match across files. Check for different names or IDs referring to the same customer or product, and investigate missing IDs. This prevents you from counting one customer twice or leaving out sales. Keep different pack sizes separate.
  • Check for duplicate rows. Use invoice or credit-note numbers and line numbers to find records copied more than once. Only remove confirmed duplicates. An invoice with several products will have several rows, and a separate credit note may also be valid.
  • Check your totals against the original sales report. Use the same dates, filters and definition of sales. If the totals differ, find out why before continuing.

2. Measure results against targets and previous periods

When you compare against previous years, you will understand how things have developed or changed. When you compare against a target, you are seeing whether sales met expectations and projections. For example, assume the distributor set a $125,000 West-region net-sales target for April 1–June 15, 2026.

BenchmarkBenchmark valueActual net salesDollar differencePercentage difference
Comparable 2025 period$120,000$110,000−$10,000−8.3%
2026 elapsed-period target$125,000$110,000−$15,000−12.0%

Formulas

Dollar difference = actual sales − benchmark

Percentage difference = (actual sales − benchmark) ÷ benchmark × 100

Target attainment = actual sales ÷ target × 100

West’s year-on-year change is −$10,000 ÷ $120,000 × 100 = −8.3%. Its target attainment is $110,000 ÷ $125,000 × 100 = 88%. It generated $10,000 less than last year and missed its target by $15,000.

These two gaps answer two different questions. The customer breakdown below shows which customers accounted for the $10,000 decline. To explain the $15,000 gap against target, you also need to check how the target was set and where the planned sales were expected to come from—for example, particular customers, products or sales reps.

Check sales in other regions across the company for the same periods. This will help you identify whether the decline is happening only in West or in other regions too.

Use the target for the period you’re reviewing. Halfway through a quarter does not necessarily mean half the sales target should have been reached—some weeks may normally bring more sales than others. Check how the target was distributed across the quarter. Follow the business’s plan, and say so if no suitable target is available.

If the sales figure or target you’re comparing against is zero, show the dollar difference and mark the percentage as “not applicable.”

3. Find the customers, products and sales reps behind the change

Compare each customer's net sales in the two periods, then subtract their earlier sales from their later sales. Sort the dollar changes to see which customers had the biggest increase or decrease.

Customer2025 matched period2026 matched periodChange
Customer A$50,000$42,000−$8,000
Customer B$30,000$25,000−$5,000
Customer C$20,000$23,000+$3,000
Other customers$20,000$20,000$0
Total$120,000$110,000−$10,000

Customers A and B caused a combined $13,000 decrease, while Customer C's $3,000 increase in sales offsets the decline a bit. This leaves us with a $10,000 regional decline. Reconcile the changes to the regional total so no contribution disappears.

Keep the gains alongside the losses

Anomaly AI insight showing the matched-period change by customer: Customer A minus 8,000 USD, Customer B minus 5,000 USD, Customer C plus 3,000 USD and other customers 0 USD.
Customers A and B account for $13,000 in decreases; Customer C offsets $3,000. Generated in Anomaly AI from the synthetic example data.

Now you can repeat this for each product and sales rep, then inspect the customer–product combinations behind the largest movements. Customer, product and rep views overlap: the same transaction appears in each, so make sure you count each unique transaction only once. A rep’s association with a decline does not by itself establish responsibility; there can be some other pattern underneath. To monitor these breakdowns every month, use a sales dashboard with region and rep views.

If you keep each customer in the same region for both periods—even if they moved—say which region you used: their current region or the region they belonged to at the start of the comparison.

4. Investigate changes in purchasing, pricing and product mix

Look more closely at the customers and products you identified. Check how often customers ordered, how many items they bought each time, the prices they paid, any discounts or returns, and whether they bought different types of products.

Customer A measure2025 matched period2026 matched period
Distinct invoiced orders107
Average net order value$5,000$6,000
Net sales$50,000$42,000

Customer A placed 10 orders averaging $5,000 each in the first period, totaling $50,000. In the second period, seven orders averaging $6,000 totaled $42,000. These figures cover all of Customer A’s net sales, with no separate returns to account for.

Although Customer A spent more per order, the lower number of orders meant total sales fell. We still need to find out why the customer ordered less often.

Separate order count from order value

Anomaly AI insight for Customer A: distinct invoiced orders fall from 10 in 2025 to 7 in 2026 while average net order value rises from 5,000 USD to 6,000 USD.
A higher average order value does not make up for the lower order count. Generated in Anomaly AI from the synthetic example data.
  • How often customers order and how much they buy. Count each order once, then check the quantity and sales value per order. Compare the same group of customers in both periods, including those who stopped ordering. Look at their past purchases to judge whether longer gaps between orders are unusual.
  • Prices and discounts. Compare the prices charged after discounts for the same products and pack sizes, taking customers’ agreed terms into account. Your average selling price can fall simply because customers bought more lower-priced products, even if no individual product’s price changed.
  • Returns. Check whether recorded returns increased and which customers or products they involved. A return recorded this month can reduce this month’s sales even if the original purchase happened earlier.
  • Products sold and their costs. Check whether customers bought more lower-priced products or products with lower gross margins. Compare product costs as well as selling prices. Selling more can increase total sales while leaving you with a smaller percentage after product costs.

5. Check the evidence behind your explanation

You will have to verify orders behind the biggest changes, including quantities, prices and any credits for returns or corrections.

From there, you will have to investigate the reasons behind the changes. Customer A may need less, order on a different schedule, be waiting for deliveries or be buying from another supplier. Its account may also have been reassigned to another region or sales rep. Check all the relevant records or customer conversations before deciding which explanation fits—the sales total alone won't give you the entire picture.

Possible explanationEvidence to examine
Purchases shifted outside the windowLonger purchase history, order dates and subsequent invoices.
Orders were delayedOpen orders, promised dates, shipment records and invoice dates.
Stock availability affected fulfillmentHistorical stock records for the affected products and dates, linked to delayed or unfulfilled orders.
The customer changed its requirementsDocumented account discussions, order cancellations or a revised purchasing plan.
Prices, discounts or returns changedComparable invoice lines, agreed terms and credit notes.

Check that the records cover the dates, products and customers you’re investigating. Today’s stock level doesn’t mean that the product was available then, and an open order doesn’t count as a completed sale.

If information is missing, then at least explain what the records confirm, what might explain the change and what else you will need to check. A customer placing no orders during one period doesn’t necessarily mean they’ve stopped buying from you, are unhappy or that their sales rep did something wrong.

6. Choose an action and a follow-up measure

Decide what to do based on what you’ve confirmed. If the cause is still unclear, make the next step a specific investigation. Here, the account manager should check Customer A’s past purchases, outstanding orders and delivery records before the next sales review, then write down what they found.

If the records confirm delivery delays, the sales and operations teams can agree delivery dates with the customer. Set out the next steps in a short follow-up plan:

Plan elementExample, conditional on confirmed delivery delays
ActionConfirm fulfillment dates for Customer A’s delayed orders and resolve the documented blockers.
Responsible rolesOperations owns fulfillment; the account manager confirms the plan with the customer.
Review dateReview progress two weeks after agreeing the plan; set an exact calendar date.
Immediate measureNumber and value of identified overdue orders fulfilled by the agreed dates.
Commercial follow-upCustomer A’s invoiced orders and net sales over the next comparable review window, against an agreed plan.
Decision ruleIf the delivery plan is missed, investigate the remaining blockers. If fulfillment recovers but purchasing stays weak, revisit the customer-demand explanation.

Check whether the action you agreed on was completed and whether sales improved. If sales rise afterwards, don't assume the action caused the increase—other factors may have helped. Review the results to decide whether to continue with the plan, find a new course of action or stop.

Common mistakes in sales performance analysis

  • Comparing a full period with an incomplete one. Comparing a full quarter with part of a quarter can make a decline look worse than it is. Show the exact dates and check that both reports contain all the records expected for those dates.
  • Mixing different measures of sales. Orders booked, invoices issued and payments received measure different things. Use the same measure for actual sales, the target and the previous period.
  • Looking only at percentages. A large percentage drop for a small customer may matter less than a small percentage drop for a major customer. Show the dollar change as well.
  • Ignoring increases or counting a decline twice. Include customers whose sales grew, because their gains may have made up for some losses. Keep customer, product and sales-rep breakdowns separate: the same sale can appear in all three.
  • Calculating measures incorrectly. Count each order once, even if it contains several products. Compare the same customer group when checking purchasing frequency. Calculate overall gross margin from total gross profit and total net sales. If product costs are missing, don’t treat them as zero.
  • Assuming you know why sales fell. Finding that a customer bought less tells you where to investigate. Check supporting records before concluding that pricing, stock shortages, customer loss or a sales rep caused the decline.
  • Finishing with a report and no next step. State what needs to happen, who will do it, when progress will be reviewed and how you’ll judge the result.

How to present your sales performance findings

Start with the main finding and the decision it helps the business make. Readers should understand what needs attention without having to work through every calculation.

  • What changed? State which measure rose or fell, which region or customers were affected, and the dates covered.
  • How much did it change? Show actual sales, the target and the previous period’s sales, with dollar and percentage differences.
  • Which customers or products accounted for the change? Show the biggest increases and decreases, and check that they add up to the overall result.
  • What do you know about the reason? Explain what the records confirm, what you’re still investigating and any missing information that could affect the decision.
  • What happens next? State the action or investigation, who is responsible, the review date and what you’ll measure.

For the fictional example, a management summary could read:

West-region net sales were $110,000 for April 1–June 15, 2026. This was $10,000 (8.3%) lower than the same dates in 2025 and $15,000 (12%) below target.

Sales to Customers A and B fell by $13,000 combined. Customer C’s $3,000 increase made up for part of that loss, leaving the region down $10,000 overall.

Customer A placed seven invoiced orders, compared with ten previously. Its average order value increased, but this wasn’t enough to make up for fewer orders. We don’t yet know why it ordered less often. The account manager will check its purchase history, outstanding orders and delivery records before the next sales review.

Use a small table to compare actual sales, previous sales and the target. A waterfall chart can show how individual customer gains and losses add up to the overall change. Clearly label the dates, currency, units and filters, and explain how sales were measured. Keep the calculations and original records available for anyone who wants to check the figures.

Analyze sales performance with Anomaly AI

Going through this entire investigation on your own can feel overwhelming. Anomaly AI eases that work so you don’t have to run every step manually. You can connect a supported CRM, such as HubSpot, or upload files up to 1 GB to get started.

Anomaly helps you visualize your sales information so you can see where things are going wrong and more easily identify where the value is. From there, you can drill down into the dataset just by asking questions in simple, plain language. Anomaly runs SQL and Python queries to make the calculations deterministic, and you can verify the results yourself.

You can also create workbooks and dashboards and share them with your sales team. This helps them see where they need to focus so they can re-strategize their plan to meet their targets.

Anomaly AI product demo on sample data: ask a question in plain language and review the result in the app. The guide’s worked example uses a separate synthetic sales dataset.

Frequently asked questions

How do I compare sales with the same period in previous years?

Use the same start and end dates in each year and the same definition of sales. If this year’s records stop on June 15, stop the previous-year comparison on June 15 too. Check whether trading days, holidays or seasonal buying patterns affect the result. Show the dates and any gaps in the records.

How should I handle new customers or customers who stopped ordering?

For the overall sales change, include every customer appearing in either period. Use zero only when the records confirm no sales, not when records are missing. For existing-customer purchasing frequency, keep the original customer group and report new customers separately.

Can I analyze sales performance without a sales target?

Yes. You can compare sales with a suitable earlier period and investigate customer, product and order changes. State that no suitable target is available. You can explain historical movement, but you cannot calculate target attainment or claim that sales met the plan.

Does gross margin include distribution and channel costs?

Gross profit is net sales minus the recorded cost of goods sold. Some distribution costs may be included in that cost, depending on your accounting policy; other selling and channel costs may be deducted later. Net profit margin accounts for all expenses. Confirm which costs your report includes.

What if a customer moved to another sales territory?

Keep a territory reassignment separate from a change in purchasing. For sales credited at the time, use the territory recorded on each sale or credit. For a fixed-customer comparison, apply one stated territory assignment to both periods. Keep the two views separate; a transfer alone does not mean the customer bought less.

Can I calculate gross margin if some product costs are missing?

You cannot calculate gross margin for all the sales under review without the corresponding product costs. Missing costs are unknown, not zero. If you report margin only for sales with known costs, clearly label which sales are included and excluded, and compare the same scope across periods.

Which sales metrics should I track?

Track the few metrics that answer your business question. From invoice and credit records, the key sales metrics are net sales, units sold, gross profit, gross margin percentage, purchasing frequency, average order value and target attainment. Compare each with the same period last year and with the target. Pipeline and activity KPIs, such as win rate, lead conversion rate or calls made, need CRM opportunity and activity data, which sales invoices do not contain.

Can I use AI to analyze sales performance?

Yes. In Anomaly AI, upload your sales records or connect your database, then ask your question in plain language. Specify the periods, sales definition and comparison you want. Anomaly can write and run SQL queries or Python code and show the results in tables, charts or a dashboard. Ask follow-up questions, then check the calculations and supporting records before deciding what caused the change.

Anubhav

Anubhav

Product Growth and UX at Anomaly AI

Anubhav works on product growth and UX at Anomaly AI, focused on AI products, B2B SaaS and enterprise workflows.

LinkedIn
Microsoft for Startups
UK GDPR compliantICO registered, reference ZC104879SOC 2 in progress