Your manager wants a sales dashboard, but the export has repeated IDs, blank amounts, and dates that could mean two different things. If you tidy the file too quickly, the chart may look finished while the numbers become harder to defend.
This guide helps operations teams and analysts prepare Excel or CSV data before charting. Start with seven practice rows, separate safe fixes from questions for the data owner, and create a clean table with a visible issue list.
Key takeaways:
- Keep raw data unchanged. Prepare a separate working table and record each change.
- A repeated order ID may represent a legitimate second order line. Check what one row means before removing anything.
- Missing amounts, conflicting values, and ambiguous dates need confirmation; filling every blank does not make a report reliable.
- Use RowSpeak to request cleanup and reviewable outputs. Check the result yourself before turning it into a dashboard.
Step 1: Define the question and the rows
Write one sentence about the decision: “Which region needs follow-up after September's sales review?” Then identify the fields needed to answer it: order line ID, order ID, date, region, currency, and net sales.
What does one row represent? In the example below, each row is an order line. One order can contain several lines, so the order ID alone cannot identify a duplicate. A line ID identifies a particular line; two different amounts for that line indicate a conflict to investigate.
Keep an unedited copy of the export. For several source files, make a short inventory:
| File | One row means | Identifier | Date coverage | Source owner |
|---|---|---|---|---|
| sales.csv | One order line | line_id | Confirm export filters | Sales operations |
| products.csv | One product | product_id | Confirm version | Product operations |
Record actual file names, export times, row counts, and currencies. The latest date in a file does not prove that all records were exported. Ask the source owner to confirm completeness.
If columns shift, headers repeat, or delimiters are wrong, fix the import first; use the messy CSV and SAP export guide for that structural problem. This article starts with readable columns whose values still need review.
Step 2: Separate safe fixes from decisions
A safe cleanup rule has a known meaning and can be explained afterward. Trimming an ordinary leading space from a region label can be reasonable; replacing an unknown sale with an average changes the business result.
| Finding | Action before charting | Evidence to keep |
|---|---|---|
North versus North |
Trim outer spaces under an approved label rule | Original and standardized label |
| Exactly repeated row | Keep one copy if the source confirms repeat rows are accidental | Source row number and duplicate reason |
| Same order, different line IDs | Keep legitimate order lines | Both line IDs and the row definition |
| Same line ID, different amounts | Hold all conflicting versions for review | Both values and owner decision |
| Blank sales amount | Hold; a blank is not zero | Missing field and source row |
03/04/2026 without a date convention |
Ask whether it means March 4 or April 3 | Original text and confirmed convention |
| USD and EUR in one amount column | Separate currencies or use an approved conversion rule | Currency, rate source, and conversion date |
Microsoft's data-cleaning guidance recommends backing up originals and checking unique values before removing duplicates. The business rule still determines which repeated records are errors.
Excel and Power Query are useful when the structure and rules are stable. AI assistance can help inspect unfamiliar files and request changes in plain language. Neither route can establish a missing amount or an unknown date convention from formatting alone.
Step 3: Work through seven rows before a large file
This is a synthetic practice example, not customer data or a recorded RowSpeak execution. Copy it into dashboard-cleaning-practice.csv to follow the decisions:
line_id,order_id,order_date,region,currency,net_sales
L01,O100,2026-09-01," North ",USD,100
L02,O100,2026-09-01,North,USD,40
L02,O100,2026-09-01,North,USD,40
L03,O101,2026-09-02,South,USD,50
L03,O101,2026-09-02,South,USD,55
L04,O102,2026-09-03,South,USD,
L05,O103,03/04/2026,South,USD,90
Assume the practice source owner has approved trimming region spaces and removing exact repeated rows. They have not resolved conflicting amounts, supplied the missing amount, or confirmed the slash-date convention.
Apply the rules in this order:
- Standardize
NorthtoNorth, keeping the original value in the change log. - Retain L01 and L02. They belong to the same order but represent different lines.
- Exclude the second exact L02 row as a duplicate. Keep its source row number in the log.
- Hold both L03 rows. Do not arbitrarily keep 50 or 55.
- Hold L04 because the amount is missing, and L05 because the date is ambiguous.
The check is 7 input rows = 2 accepted + 1 duplicate excluded + 4 held for review. These categories are mutually exclusive for this example.
| Output | Expected result | Meaning |
|---|---|---|
| Accepted line IDs | L01, L02 | Two legitimate lines for order O100 |
| Accepted-subset amount | $140 | $100 + $40; not the whole month's sales |
| Duplicate excluded | One L02 copy | $40 omitted from the accepted subset |
| Held for review | Both L03 rows, L04, L05 | Four source rows need decisions |
| Release status | Draft / incomplete | Regional comparison cannot yet be approved |
Arithmetic reference calculated from the practice rows above. This is not a product screenshot or a claim that RowSpeak automatically applies these rules.
A dangerous result would be “North $140, South $0.” South is unresolved, not zero. The accepted subset is useful for checking the process, but it cannot establish regional performance. Keep the full dashboard in draft until the affected questions are resolved or the owner explicitly approves a clearly labeled partial report.
Step 4: Ask RowSpeak for the cleanup and issue list
Choose a tool that lets you inspect the changed table, see unresolved rows, and compare counts and totals. A polished chart alone is insufficient.
RowSpeak's documented data-cleaning workflow supports natural-language requests for deduplication and formatting. Use it to request a separate cleaned output and a change summary. These are instructions to review, not a guarantee that every ambiguity will be found or that an audit log is created automatically.
Start with the practice CSV. For real files, remove confidential or personal details unless your organization has approved the processing environment.
Inspect the uploaded CSV before building a dashboard. One row is an order
line, identified by line_id. Keep the uploaded original as the reference
and request a separate cleaned output.
Trim outer spaces from region labels. Keep different line IDs even when
order_id repeats. Remove only exact repeated rows and log their source
row numbers. Hold every version of a line_id with conflicting amounts.
Hold missing net_sales values and dates with an unknown convention.
Do not replace missing sales with zero or an average. Do not choose a
conflicting value or infer whether 03/04/2026 means March 4 or April 3.
Return the accepted table, excluded-duplicate list, held-row list with
reasons, and a change summary showing original and changed values.
Reconcile the input row count across these groups. Total only the
accepted subset and label it incomplete. Do not build a final regional
comparison until the owner resolves or explicitly approves the limits.
Check the returned files and response against Step 3. If the issue list is missing, request it. If the output silently chooses an L03 amount, pause and use a correction:
L03 has conflicting amounts of 50 and 55. Hold both source rows for owner
review instead of choosing one. Restore L01 and L02 as separate valid
lines for O100. Recompute the mutually exclusive row groups and show why
the accepted-subset total is 140. Keep the dashboard status as draft.
The expected outputs above are independently calculated checks; this article does not claim that the exact prompt has been tested in RowSpeak. Compare actual output with the checks rather than trusting a statement that the file is “clean.”
Step 5: Check combined files before generating charts
A clean source can become wrong when joined to another file. A join combines records using a shared identifier, such as product ID. If the product table contains two copies of a product, one sales line can appear twice after the join.
Before combining files, check that the lookup table has one intended match per identifier. Afterward, compare sales-line counts and totals with the pre-join values. List unmatched IDs separately. Do not silently remove sales because a product label is unavailable.
For the practice data, any added lookup should preserve the accepted L01 and L02 lines and their $140 subtotal. If it produces four accepted lines or $280, investigate repeated matches before charting.
Once owners resolve the held rows, rerun the checks and record the approved rules. Then use an Excel-to-dashboard workflow to request metrics and charts with visible dates, currency, definitions, and outstanding limits. Interactive filters do not make the source data current; a manual upload remains a file snapshot.
For a broader review after generation, use the AI-generated report audit checklist.
Common mistakes before dashboarding
- Deduplicating by order ID: this can delete legitimate lines. Confirm the row definition and line identifier first.
- Filling all blanks: an unknown sales amount cannot be recovered by averaging other sales. Ask the source owner.
- Formatting ambiguous dates: changing how a cell looks does not establish which date was intended.
- Removing outliers automatically: a large sale may be real. Flag it and ask for confirmation.
- Treating held records as zero: this can make one region look weaker simply because its records are unresolved.
- Reusing old approvals: confirm new columns, coverage, and exceptions with every new file. Save the rules using the monthly CSV reporting brief.
Before you approve the dashboard
- Can you trace the accepted, excluded, and held rows back to the original file?
- Do those groups reconcile to the source row count without double counting?
- Have owners resolved conflicts, missing amounts, and uncertain dates that affect the decision?
- Are subtotal rows, currencies, order lines, and joins handled consistently?
- Do chart filters reproduce the approved table totals?
- Does the output show its period, source coverage, and any approved limitations?
For this example, “seven rows accounted for” passes the row check. “Ready to compare North and South” still fails. Those are different decisions.
Check the rows before your next dashboard review
Try the seven practice rows while there is still time to resolve missing amounts and conflicting records before the meeting. For confidential business files, review deployment options before using real data.
Explore private deployment





