Power QueryExercises

Label orders with an April–March fiscal year (kite shop)

The company's fiscal year runs from 1 April to 31 March and is named after the year it ends in.

Level
intermediate
Time
~7 min
Task
Build the query
Access
Pro
Checking your access…

About this exercise

What you'll practise

Derive a fiscal period from a date with a month-based rule.

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

  • Orders (table)
    • OrderID: text
    • Customer: text
    • Region: text
    • Product: text
    • Qty: number
    • UnitPrice: number
    • OrderDate: text
    • Status: text

Expected output columns

OrderID (text), OrderDate (date), Fiscal Year (text)