← All projects
Featured case study · Business Intelligence

E-Commerce Sales Cleanup & Performance Audit

Turned a deliberately messy sales export into a traceable Power Query pipeline, trusted DAX measures, an executive dashboard, and a documented exception-review process.

Power BIPower QueryDAXData QualityKPI Reporting
E-Commerce Sales Cleanup and Performance Audit project graphic
103raw rows received
102records audited
82revenue-eligible orders
62.7%analysis-ready pass rate
The challenge

The spreadsheet could not be trusted at face value.

The 103-row export contained leading spaces in headers, inconsistent product and category labels, missing values, malformed quantities and prices, mixed date formats, totals that could not always be validated, repeated order IDs, and non-positive transaction values. A dashboard built directly on the raw file would have produced confident-looking but unreliable KPIs.

Integrity rule: original values were preserved. Questionable records were flagged, corrected only where a defensible rule existed, or excluded from trusted measures with the reason documented.

Approach

How the audit and reporting system was built.

  1. Preserved the original query and created a separate clean-data pipeline with source-row traceability.
  2. Standardized product and category values while retaining original, standardized, final, and issue-status fields.
  3. Parsed quantity, price, and order dates through error-tolerant rules instead of allowing type conversion failures to silently remove data.
  4. Calculated a subtotal, compared it with reported totals, preserved plausible 30% discounts, and rejected non-positive transaction values from trusted revenue.
  5. Removed one exact duplicate while retaining and flagging four conflicting duplicate records for review.
  6. Created DAX measures and four report pages: internal QA, executive sales performance, data-quality audit, and business insights.
Dashboard outputs

Three views for three different decisions.

The public report separates performance reporting from data-quality evidence and management recommendations, so the user can see both the answer and how trustworthy that answer is. Select any dashboard to open the full-resolution export.

Project files

Review the finished report and the working Power BI file.

The static PDF contains the three public-facing dashboard pages in presentation-ready landscape orientation. The PBIX preserves the complete four-page report, including the internal QA page, report model, Power Query transformations, and DAX measures.

File note: The PDF is a static three-page export. Interactive slicers and report behavior are available only in the PBIX through Microsoft Power BI Desktop.

Key findings

What the validated evidence showed.

  • Only 64 of 102 audited records were fully analysis ready, producing a 62.7% data-quality pass rate.
  • Twenty records were excluded from trusted analysis because of unusable totals, duplicate conflicts, or non-positive transaction values.
  • Eighty-two orders remained eligible for revenue reporting; nine were marked Delivered, generating $13,006.70 in delivered revenue and a $1,445.19 average delivered-order value.
  • Returned was the largest eligible order status at 24 orders, or 29.3%, while only 11.0% of eligible orders were marked Delivered.
  • Sports generated 41.2% of delivered revenue, Books had the highest category return rate, and Cash on Delivery had the highest cancellation rate.
Business recommendations

What should happen next.

  • Audit whether Shipped and Processing orders are genuinely open or whether operational teams are failing to update statuses after fulfillment.
  • Capture structured return reasons by product and category before increasing marketing spend or inventory in high-return areas.
  • Add required-field, numeric-range, and unique-order-ID validation at data entry so bad records are prevented rather than repaired downstream.
  • Protect inventory availability and fulfillment quality for Sports, the largest contributor to validated delivered revenue.
  • Schedule a recurring exception report for duplicate conflicts, missing totals, invalid dates, and non-positive values.
Limitations and integrity

What this project does—and does not—prove.

This is a demonstration project built from a small public Kaggle dataset, not a production client deployment. The source does not contain return reasons, fulfillment timestamps, costs, margins, or inventory data, so operational causes cannot be established from this file alone. Possible discounts were retained as reported rather than automatically treated as errors. The raw data remained preserved, and every exclusion rule was made explicit.

Continue exploring

More projects, methods, and business questions.