Module 1 · Data Analyst Capstone: End-to-End BI Project
The brief and the plan
Meet Voltline Electronics, turn a chief executive's questions into an analysis plan with definitions and deliverables, and get to know the raw data.
About 25 minutes
The problem
This is the capstone of the Data Analyst track. There are no new functions to learn. Instead, you'll do what a junior analyst is hired to do: take a business problem and a pile of raw data, and come back with answers a leadership team can act on.
The company is Voltline Electronics, a chain of eight stores selling phones, laptops, accessories, home appliances and solar power equipment in Lagos, Abuja, Port Harcourt and Ibadan. The chief executive, Ngozi Afolabi, has sent you this:
"We grew 37% in the first half of this year and the board is delighted. I'm not sure I am. I want to know what's really driving it, which stores and products are doing well and which aren't, and whether our targets make sense. The data is whatever the tills export. I need something I can take to the board in a month, and I need to trust it."
The data comes straight from the stores' tills, with all the problems that implies. Nobody has cleaned it, and nobody has checked it. That's your job too.
The concept
Every analysis project follows the same arc
| Stage | Output | Lesson |
|---|---|---|
| 1. Brief and plan | Questions, definitions, deliverables, a plan | 1 |
| 2. Profile | A list of every problem in the raw data | 2 |
| 3. Clean and prepare | Clean tables and a cleaning log | 3 |
| 4. Model and measures | A model and tested measures | 4 |
| 5. Analyse | Answers, each backed by a number | 5 |
| 6. Dashboard and story | A report and an executive summary | 6 |
| 7. Review and present | A checked, presented, published piece of work | 7 |
Use whichever tools you like: Excel, Power BI, SQL or Python, or a mix. The lessons show the key steps in more than one. What's assessed is the quality of the answers, not the tool.
A plan starts from the questions, not the data
Turn the brief into specific questions you can answer with numbers:
- How much of the 37% growth is real? (Price rise? The new store? More customers?)
- Which stores are improving, and which are struggling? Why?
- Which categories make money, not just sales?
- Are the store targets fair and achievable?
- Where is money being left on the table (stock-outs, returns, missed add-on sales)?
Definitions before numbers
Write these down before you calculate anything, because every number depends on them:
- Net sales = quantity × unit price − discount, with returns (negative quantities) included.
- Gross profit = net sales − quantity × unit cost, using the cost price in force on the sale date.
- Like for like = stores open for the whole of both periods being compared.
- The analysis period = 1 January 2025 to 30 June 2026. "H1" means January to June.
Deliverables
Agree what you'll hand over: a cleaned dataset with a cleaning log, a dashboard of two or three pages, a one-page executive summary with three recommendations, and your working (queries, workbook or notebook) so someone can check it.
Example
A first look at the files. The dataset has six CSV files:
| File | Rows | What it is |
|---|---|---|
sales_raw.csv | 27,978 | every till line, exactly as exported |
stores.csv | 8 | the eight stores |
products.csv | 22 | the product list with current prices |
cost_prices.csv | 44 | what Voltline pays for each product, with the date each cost applies from |
targets.csv | 138 | monthly net-sales targets by store |
stockouts.csv | 8 | periods when a store had run out of a product |
Look at the grain (what one row represents) of each file. sales_raw is one row per line of a till transaction, targets is one row per store per month, and cost_prices is one row per product per cost change. Combining files at different grains is where many analyses go wrong. You'll deal with it in lesson 4.
Walkthrough
- Download the retail dataset and open every file. Write down the grain of each one in a sentence.
- Read the data dictionary on the dataset card. Note any column whose meaning you're unsure of.
- Open
sales_raw.csvand scroll. Without doing any analysis yet, write down three things that look odd. - Write your analysis plan (the task below): the questions, your definitions and your deliverables.
- Set up a project folder:
raw/(never edited),clean/,analysis/andreport/. Keeping the raw files untouched means you can always start again.
Practice
Practice
How many rows (excluding the header) are in sales_raw.csv?
Practice
How many monthly targets does Lekki (store_id 2) have in targets.csv?
Task
12 minWrite your analysis plan for Voltline. Use three headings on their own lines: Questions, Definitions and Deliverables. Under Questions, list at least four specific questions as bullets. Under Definitions, define at least net sales, gross profit and like for like. Under Deliverables, list what you'll hand over.
Your work is checked for
- Has a Questions heading
- Has a Definitions heading
- Has a Deliverables heading
- At least four questions, each ending with a question mark
- Defines net sales
- Defines gross profit
- Defines like for like
- Enough detail: at least 120 words
Check your understanding
Answer every question to check.