Operations & Revenue Analysis (AdventureWorks)
Scoped a stakeholder email into KPIs, then analysed 121,253 sales order lines (July 2017 to mid-June 2020, FY2018 to FY2020) to explain why sales doubled while margin slipped, and where the profit was really being lost.
Key findings
- Growth with margin pressure: sales rose from $23.9M to $51.9M (FY2020 runs only to mid-June), while margin fell from 12.7% to 11.2%.
- Revenue and profit sit in different places: Australia is about 10% of sales but 29% of gross profit; Central, Southeast and Northeast are 21% of sales at roughly a 2% margin.
- The losses are a channel problem, not a product problem: Touring Bikes lose money through resellers (-11.8% margin) but earn 37.8% online. The recorded discount field was zero on every row, so I derived effective discounts from the sales data; discount depth did not explain the losses.
What I did
- Turned a broad request into scoped objectives, KPIs, and a defined analysis period.
- Profiled the data in PostgreSQL, including key, orphan-record, missing-value, and financial reconciliation checks, and documented the limitations I found.
- Built an automated ETL Bronze → Silver → Gold pipeline and modeled a star schema with sentinel keys for "not applicable" members and role-playing dates.
- Reconciled the numbers between layers. About 12.9% of order lines (all reseller) did not match the expected sales calculation, so I kept Sales Amount as the source of truth; recalculating would have overstated sales by roughly $527K.
- Built a Power BI semantic model with central DAX measures and fiscal-calendar time intelligence.
- Wrote prioritized recommendations, such as repricing reseller finished-bike lines against standard cost.
The report
The data model