MIS Fundamentals — The Dataset and Its Quirks
Why This Exists (The Hook)
Every MIS (Management Information Systems) course teaches SUMIFS on a spotless 20-row sample table. Real exports never look like that. This page walks through the exact data-quality issues built into this track's dataset on purpose, so the formulas and SQL you write later in Intermediate and Interview are solving the problem you'll actually face on day one of a real job, not a textbook version of it.
Analogy — Think of this dataset like a used car before a sale: it runs, but it has a few things a careful buyer checks under the hood before trusting the odometer. Skipping that check doesn't mean the car is fine — it means you find out the hard way later.
Try it (2 minutes) — Download [sales.csv](/datasets/mis/sales.csv) and open it in Excel. Select the unit_price column and look at the cell alignment: some values are left-aligned (text) and some are right-aligned (numbers). That's Excel telling you, without a single formula, that the column has a mixed-type problem before you've even started.
The four files
| File | Rows | Purpose |
|---|
|---|---|---|
| [`sales.csv`](/datasets/mis/sales.csv) | ~400 | order_id, order_date, region, rep_id, product, category, qty, unit_price, discount_pct, status |
|---|---|---|
[reps.csv](/datasets/mis/reps.csv) | 16 | rep_id, rep_name, manager_id, region, join_date |
[targets.csv](/datasets/mis/targets.csv) | 176 | rep_id, month, target_amount — 11 months per rep |
[returns.csv](/datasets/mis/returns.csv) | 35 | return_id, order_id, return_date, reason, qty_returned |
The data-quality issues, and why each one matters
Blank region values — a handful of sales.csv rows have an empty region cell even though the order has a rep_id, which does have a region in reps.csv. This is the single most common real-world MIS problem: the "right" value exists somewhere in the data, just not in the column you're looking at. A region-level report built straight from sales.region alone will quietly undercount every region by however many blank rows exist, rather than erroring. The fix is joining to reps.csv on rep_id and preferring that region over a blank one — not just filtering blanks out, which would also drop those orders' revenue.
unit_price stored as text, sometimes with a leading $ — about 10% of rows have unit_price written as $131.50 instead of 131.50. Excel's SUM() silently ignores any cell it reads as text rather than erroring, so a plain =SUM(unit_price) on this column undercounts. It sums only the rows that happen to already be real numbers and quietly skips every $-prefixed one, with no visible sign anything's missing. SQL's behavior on the same mixed column depends on the engine: some error outright on a non-numeric value, others coerce or skip it differently. Either way, a plausible-but-wrong number is worse than an obvious error, which is why every formula and SQL query in this track that touches unit_price strips the $ and casts to a number explicitly, every time, rather than assuming the column is already clean.
qty with stray leading/trailing spaces — some rows have qty as " 7 " instead of 7. In SQL, comparing or casting this needs a TRIM() first; in Excel, VALUE() actually tolerates surrounding whitespace, but a direct numeric formula on the raw cell may not, depending on the exact formula.
Duplicate rows — about 20 full-row duplicates are mixed into sales.csv on purpose. A report that doesn't de-duplicate overstates revenue by exactly the duplicated rows' value — this is the dataset's version of the classic "why doesn't my number match finance's" problem covered in the interview bank's stakeholder-handling topic.
Products/text fields with a trailing space — a few product values have a trailing space ("Widget A " vs "Widget A"), which looks identical to the eye but breaks a GROUP BY, pivot table grouping, or exact-match lookup into two separate groups for what's really one product.
Every one of these is real, common, and exactly what the Intermediate, Interview, and Cheatsheets pages assume you're working with — none of the SQL or Excel patterns elsewhere in this track pretend the data arrived clean.

