Project: revenue by regional manager from a raw export (kite shop)
From a messy CSV export and a manager list, produce completed revenue per regional manager, rounded to cents and sorted.
- Level
- advanced
- Time
- ~20 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Chain import, typing, cleaning, filtering, merging and grouping into one repeatable pipeline.
The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.
Input
- SalesFile (file)
- Text file; first line: OrderID,Region,Qty,UnitPrice,Status
- Every field is text until you set types
- Managers (table)
- Region: text
- Manager: text
Expected output columns
Manager (text), Revenue (number)