Skip the title rows in a report export (school)
The export starts with a report title and a blank line. Skip them, then promote the real headers.
- Level
- beginner
- Time
- ~7 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Remove top rows before promoting headers, and understand why the order of those steps matters.
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
- ClaimsReport (file)
- Text file; first line: Expense claims report,,,,,,
- Every field is text until you set types
Expected output columns
ClaimID (text), Employee (text), Category (text), Amount (number), Currency (text), ClaimDate (text), Approved (text)