Compare 2025 revenue with its actual prior year
Hands-on retail case: load the downloadable CSV tables, perform the actions, inspect the full-data result and reconcile it. Includes a paired Desktop procedure.
Business use case
Your role: Sales planning analyst
The leadership team asks whether 2025 grew relative to the matching 2024 period.
The decision you support
Calculate actual prior-year revenue and percentage change.
What you will deliver
A 2024 baseline and a verified 2025 year-over-year result.
Before you start
- Complete the linked foundation tutorial first.
- Read the case grain, currency, date convention and dictionary before importing.
- Use the exact scope/year/region/cutoff named in the tasks; preview pagination does not limit calculation rows.
Datasets and case evidence
All records are synthetic. Preserve the source files and use the case definitions when checking results.
Download Retail case ZIP| Input | Rows | Why you need it |
|---|---|---|
| Sales.csv | 18,000 | Clean order-line fact for calculations and reports. |
| Products.csv | 24 | Unique product keys, labels, category and reference prices/costs. |
| Customers.csv | 600 | Synthetic customer dimension and segment. |
| Returns.csv | 782 | Returned lines, refund amounts and return-event dates. |
| Targets.csv | 144 | Revenue targets at month-region grain. |
| Calendar.csv | 1,461 | Contiguous dates and chronological month sorting fields. |
| ExpectedResults.csv | 18 | Answer sheet for checking your independently calculated result. |
Acceptance checklist
- A 2024 baseline and a verified 2025 year-over-year result.
- Every task check passes using the context and expected values stated in its instructions.
- Save the result, one incorrect attempt with its explanation, and the steps needed to reproduce the correction.
Try it independently
After reproducing the answer, change one period, filter or supported assumption. Explain the result and document which acceptance values should change.
Browser simulation of the listed operations; repeat the paired walkthrough in Power BI Desktop. Service, gateway and identity behavior require separate real-environment checks.
What you'll do
- Prepare a complete calendar
- Create the revenue measure
- Create the py measure
- Run py in the required context
- Create the yoy measure
- Run yoy in the required context
- Reconcile the recorded result
Lab tasks
- 1 Import and inspect the case tables
- 2 Prepare a complete calendar
- 3 Create the revenue measure
- 4 Create the py measure
- 5 Run py in the required context
- 6 Create the yoy measure
- 7 Run yoy in the required context
- 8 Reconcile the recorded result