🤖 AI & Analysis · 7 min read
Analyze Sales Data With AI: The Six Questions Worth Asking First
Analysing sales data with AI is not a reporting feature. It is a way to answer one question at a time, in plain English, without building a pivot table first. That is the whole difference: a dashboard shows you everything and leaves you to find the story; a question gets you one number you can act on this week.
If you run a small business, you almost certainly already have the export — an orders CSV from your shop, a till system, or a spreadsheet someone maintains by hand. What is usually missing is not data. It is the order of the questions.
What the file needs (six columns)
Most of the questions below can be answered from six columns. If your export has more, that is fine — the extras only matter when a specific question needs them.
| Column | Why it matters | What breaks without it |
|---|---|---|
| order id | Counts orders instead of rows | Multi-line orders inflate every total |
| order date | Everything time-based | No trend, no seasonality, no comparison |
| product / SKU | Rankings and mix | You only get a company-wide total |
| quantity | Volume vs value split | Can’t tell discounting from growth |
| unit price | Revenue and average order value | A revenue column alone hides price changes |
| country / channel | Where the money actually comes from | Every market looks the same |
Two optional columns pay for themselves: a cost column turns revenue ranking into margin ranking (the difference is usually a surprise), and a customer id makes repeat purchase measurable. Refund amounts, if you have them, answer the most expensive question of all.
Question 1 — Revenue by month, with the order count beside it
Ask for revenue by month and the number of orders in each month. Revenue alone cannot tell you whether growth came from more customers or bigger baskets, and those two facts lead to opposite decisions.
Check:pick one month, filter it in your spreadsheet, compare the total. If the two disagree, look at the price column format before blaming the model — a price stored as text (“$1,240.00”) is the most common cause of a wrong sum.
Question 2 — Best product by margin, not by revenue
The top-selling product is rarely the most profitable one, and the ranking by margin often reorders the list completely. If you have no cost column, ask for revenue ranking and treat the result as a hypothesis rather than an answer.
Question 3 — Average order value, and how it moved
AOV is revenue divided by distinct orders. It is the fastest read on whether discounting is working: if AOV falls while order count rises, you are buying volume with margin.
Question 4 — Repeat vs first-time customers
With a customer id column, ask how much of the revenue came from customers who had bought before. Businesses with weak repeat rates usually discover that acquisition is being used to plug a retention hole — which is a marketing decision, not a data one.
Question 5 — Refund and return rate by product
If refunds are in the file, this is the highest-value question in the list. A product that sells well and returns often can be unprofitable after shipping both ways, and the aggregate revenue number hides it completely.
Question 6 — Seasonality, stated as months not adjectives
Ask for the three strongest and three weakest months with their revenue, and the same month a year earlier if the history allows. It turns “December is busy” into a number you can plan stock and staffing against.
How to ask so the answer is usable
The phrasing that works is specific about the column, the period and the unit. Compare these two requests on the same file:
Weak — produces a description
“How are my sales doing?”
Strong — produces a number and a decision
“Using the order date and line total columns, give me revenue and order count for each month of 2026. Then tell me which product had the highest revenue and which had the highest revenue per order.”
Naming the columns removes the guesswork about which field means what, and asking for two metrics together makes the answer self-checking.
When not to use AI for this
- The file is enormous. Hundreds of thousands of rows are better handled by a script or a database; a browser tool will be slow and may sample instead of compute.
- The numbers are regulated. Anything that feeds a tax filing or an audit should be reproducible by a formula you can show someone else.
- You need a recurring report. One-off questions suit AI; a monthly report that must look identical each time suits a fixed template.
Then look at it
Once the numbers are right, charts are the fast way to spot the shape — which month bends, which product carries the mix. For that step, see visualising sales data from a CSV. And if the export itself is the problem (limits, encoding, truncation), start with opening a CSV that is too big for Excel.
Frequently Asked Questions
What columns does a sales CSV need before AI can analyse it?
Six are enough for most questions: order id, order date, product (or SKU), quantity, unit price, and country or channel. Refunds and customer identifiers are optional but unlock two of the most useful answers — refund rate and repeat purchase.
Can AI analyse sales data without Excel or SQL?
Yes, for question-shaped analysis. You ask in plain English and get a number with a short explanation. What it cannot do is replace the spreadsheet for formatting, and it cannot decide which question matters — that part is still your job.
How do I know the AI's sales numbers are right?
Ask for the derivation, then check one figure independently: filter the same month in your spreadsheet and compare the total. If the two agree, the rest of the answer is usually sound. If they disagree, the usual cause is a text-formatted price column, not a model error.
Is it safe to upload sales data that contains customer names?
Upload the columns the question needs and drop the rest. Most sales questions are answerable from order id, date, product and amount — customer names, emails and addresses add risk without adding insight.
Ask Your Sales CSV a Question
Upload the export and ask for revenue by month, best product, or average order value — in plain English, with the row counts visible so you can sanity-check the answer.
Related reading
AI & Analysis — other guides that pair well with this one.
- Can ChatGPT Create a CSV File? Yes, and Here's Where It Goes Wrong
- Analyze CSV with AI (Free)
- nocodecsv-vs-chatgpt
- best-ai-csv-analyzer
Browse all guides in the NoCodeCSV blog.