

Choosing data analysis tools for one-off questions and weekly ones
Data analysis tools fall into five groups by the job they do. Spreadsheets handle quick summaries that a person can check cell by cell. SQL aggregates and joins large tables where the data lives. Notebooks run multi-step methods in Python or R, BI tools show agreed metrics on dashboards, and AI tools take a question in plain language. Most analysts use several. The choice depends on the job, the size of the data, and above all on whether someone will ask the same question again next week.
Data analysis tools are the software people use to clean, summarize, and explain data so that someone can make a decision. The group is wide because the jobs differ. A finance lead checking one number needs a different tool from an analytics engineer who maintains a weekly model, and a marketer asking a first question about a campaign needs a third. The fairest way to compare them is to hand all five the same question.
Monday's question: why did revenue fall 7%?
The weekly report at an online retailer that sells in four regions comes out on Monday. Revenue fell from $400,000 to $372,000 between the last two complete weeks, a drop of $28,000 (7.0%), and the head of e-commerce wants to know why before the afternoon meeting. We made up the retailer and every figure in its report. No customer's result is behind them, and no product produced them. Both tables were recomputed in Python before publishing.
| Region | Week 1 revenue | Week 2 revenue | Change | Change % | Share of net change |
|---|---|---|---|---|---|
| North | $120,000 | $118,000 | -$2,000 | -1.7% | 7.1% |
| South | $95,000 | $71,000 | -$24,000 | -25.3% | 85.7% |
| East | $80,000 | $82,000 | +$2,000 | +2.5% | -7.1% |
| West | $105,000 | $101,000 | -$4,000 | -3.8% | 14.3% |
| Total | $400,000 | $372,000 | -$28,000 | -7.0% | 100.0% |
Share of net change is each region's change divided by the total change: -24,000 / -28,000 = 85.7% for South. East rose, so its share is negative, and the three declines add up to $30,000, more than the net drop. Whenever some segments move against the total, their shares go negative and the others can add up past 100%. Report the net change, and name the segments that moved the other way.
South accounts for most of the drop. The next step splits South's revenue into orders times average order value (AOV, revenue divided by orders).
| South | Orders | AOV | Revenue |
|---|---|---|---|
| Week 1 | 1,900 | $50.00 | $95,000 |
| Week 2 | 1,420 | $50.00 | $71,000 |
Orders fell by 480, or 25.3%, and AOV held at $50.00, so the whole $24,000 comes from fewer orders: 480 × $50 = $24,000. What happened to those orders, whether traffic, conversion, stock, or delivery, the table cannot say. The full method, including how to rank segments and when a ratio cannot be split this way, is in how to find why a metric changed.
Five tools, one revenue question
Spreadsheets: Excel and Google Sheets
A spreadsheet suits a one-off summary on data small enough for a sheet, where every reader can see the formulas. An Excel PivotTable calculates, summarizes, and analyzes data so that comparisons, patterns, and trends show. For the revenue drop, export two weeks of orders, put region in the rows and week in the columns, and add a difference column and a share column.
That works while the export fits. Excel caps a worksheet at 1,048,576 rows by 16,384 columns, and a Google Sheets file holds up to 20 million cells or 100MB. Repetition is the weak spot. Next Monday begins with a new export and a new copy, and the copies drift apart.
SQL in the warehouse
SQL is the query language of warehouses and databases, so the summary runs where the data is stored and the size of the table stops being the analyst's problem. BigQuery, for example, runs ANSI-standard SQL with joins, nested fields, and analytic functions, which calculate across a set of rows; a running total is one. Here the analyst writes one query that sums revenue by region for each week and a second that counts South's orders and computes AOV. Saved, both run on next week's data unchanged.
SQL has two limits. Only people who write it can use it, and teams tend to copy the same business logic into many saved queries, each of which then changes on its own.
Notebooks in Python or R
A notebook keeps the code, the output, and the notes for each step in one document. Jupyter Notebook is a web application built for creating and sharing such computational documents. In Python, pandas is an open source data analysis and manipulation tool, and R is a language and environment for statistical computing and graphics. The analyst runs the same two steps in pandas or R and adds a check that the four regions add to the total. That check stays in the notebook for the next reader.
Notebooks fit a method with several steps, a statistical test, or a model. Someone has to keep each notebook running, though, and a reader who knows neither Python nor R depends on whoever wrote it.
BI dashboards
A BI tool fits questions that repeat on known metrics and have many readers. In Looker, a LookML model sets out the dimensions, aggregates, calculations, and data relationships once, and Looker generates SQL from it, so every dashboard shares one definition. Power BI lists scheduled refresh, email subscriptions, alerts, and Q&A for questions in natural language.
A bar chart of change by region answers the first half of Monday's question, provided the model has a week-over-week measure. The split into orders and AOV needs both measures in the model too. Without them it becomes a request to the data team. A dashboard answers what it was built to answer, and a why question often needs a drill path that nobody built.
AI assistants
AI tools take a question in plain language and write the code. With ChatGPT's data analysis, ChatGPT writes and runs Python in a stateful Jupyter notebook environment on files you upload, such as spreadsheets. That environment cannot make external web requests, so the data has to be uploaded or connected first. The Model Context Protocol (MCP) is an open-source standard for connecting AI applications such as Claude or ChatGPT to outside systems, databases among them.
Ask the revenue question in plain language, then check the answer. It should reproduce -$28,000 and 85.7%, use your revenue definition, and show its code. AI tools suit a first pass on a new question. Before you trust one, it has to use your definitions, and you have to be able to read its code.
Six criteria across the five groups
| Criterion | Spreadsheets | SQL | Notebooks | BI tools | AI tools |
|---|---|---|---|---|---|
| Best job | One-off summary | Aggregate and join large tables | Multi-step or statistical method | Known metrics, many viewers | First pass on a new question |
| Data size | Excel: 1,048,576 rows per sheet. Sheets: 20 million cells per file | Warehouse scale | Machine memory, unless the heavy work runs in SQL | Set by the model and the source | Uploaded files or connected sources |
| Skill needed | Formulas | SQL | Python or R | Modeling to build, none to view | Plain language, plus checking |
| Rerun next week | New export, by hand | Rerun the saved query | Rerun the notebook | Scheduled refresh | Depends on the tool |
| Method visible | Cell formulas | The query | Code and output per step | Model and measure definitions | Only if the tool shows its code |
| Shared definitions | Per file | Per query | Per notebook | In the model | Only if connected to them |
Start with the row that matters most for your question. For a question asked once, skill and data size decide. For a question asked every week, the last three rows decide: how the work reruns, whether the method shows, and where the definitions live.
Checks that hold in any tool
Agree on the definitions first. Revenue may be gross, or net of refunds and discounts. The week may start on Sunday or on Monday, and the time zone decides which orders fall in which week. Compare complete weeks only.
Reconcile before you explain. The regions must add to the total, and the total must match the finance report for the same week. A join between orders and another table can duplicate rows and inflate revenue, so check the row count after each join.
Three errors turn up whatever the tool. The first averages the regions' percentage changes; the right figure is the total change divided by total revenue. The second ranks regions by size, when the ranking that matters is each region's contribution to the change. The third treats the largest contributor as the cause. South's drop is an association to investigate, and proving a cause takes other evidence.
The same question, seven days later
A week on, the report comes out again and the head of e-commerce asks the same question. The spreadsheet route starts over with a new export. The saved query reruns, but only an analyst can read it. Gravity built Orion, the analytics platform, for questions like this one that come back every Monday. Picture the routine for an analyst whose team has set it up.
Before the first Monday, the team told Orion what it knows. Revenue means net of refunds and discounts. The week starts on Monday in the store's time zone, each region has an owner, and finance's weekly report is the total to reconcile to. Orion recorded each rule in a Context page. Where a team has one, Orion also draws on the existing semantic layer, such as LookML or dbt.
First thing on Monday, the analyst asks why revenue moved last week. Orion writes and runs the analysis and keeps it as an analysis notebook with the SQL and Python behind each figure. She reviews it as she would a colleague's query: do the regions add to the total, and does the total match finance? If something is off, she edits the notebook and reruns it.
The tables cannot tell Orion why one region's orders fell, so Orion asks the team, for instance whether a regional promotion ended, and uses the reply in the following week's analysis. When a reply changes a rule, such as a promotion calendar to check before anything else, Orion drafts the change as a Context card, and an analyst applies or dismisses it. The same cards suggest what to run next, such as splitting the falling region's orders into traffic and conversion.
After a few Mondays of answers she trusts, the analyst asks Orion to turn the routine into a Workflow. Orion assembles it from the analysis she has been running and does one dry run. The team looks over that run, picks a weekly schedule, and approves the Workflow before it is saved. From then on, each Monday before the meeting, it splits the week's change by region and points each region's owner to the drivers behind the move.
The other tools stay. A small export still goes into a spreadsheet, and a statistical test or a forecasting model stays in the notebook of the analyst who owns it.
Sorting last month's questions
List the analysis questions your team answered last month and mark each one as asked once or asked every week. A one-off belongs in whatever tool the person asking can check: a spreadsheet, a SQL editor, or a notebook. A weekly question belongs in a tool that reruns it with the same definitions and shows the method each time.
Next to each weekly question, note the hours it took, and sort the list by hours. Move the questions at the top out of copied files first. Before you move any of them, agree on the definitions they depend on.