Calculate revenue, profit and margin
Guided browser practice with visible data, checked actions and expected results. Repeat the linked tutorial in Power BI Desktop.
Business use case
Your role: Junior BI analyst
The business needs revenue, profit and margin that react to report filters.
The decision you support
Create reusable measures with the agreed quantity and cost definitions.
What you will deliver
Three validated measures and a small manual calculation.
Before you start
- Beginner foundation exercise: use these small files before the larger industry case.
- Read the linked tutorial and the foundation dataset guide. Do not substitute the industry totals for these files.
Datasets and case evidence
All records are synthetic. Preserve the source files and use the case definitions when checking results.
Download Sales.csv| Input | Rows | Why you need it |
|---|---|---|
| Sales.csv | 5 | Foundation extract: five raw rows, including a duplicate. Prepared-mode labs begin with its four-row cleaned version. |
| Products.csv | 2 | Unique product/category lookup for the foundation exercise. |
Acceptance checklist
- Three validated measures and a small manual calculation.
- 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
- Import prepared data
- Write a Revenue measure
- Write a Profit measure
- Calculate a safe ratio
Lab tasks
- 1 Import prepared data
- 2 Write a Revenue measure
- 3 Write a Profit measure
- 4 Calculate a safe ratio