Case 5: earned value and CPI
Budget used alone does not say whether a project is doing well. Earned value compares cost with the progress achieved. You calculate earned value and from it the CPI.
In short: earned value is budget times percent complete, calculated per project with SUMX(Project, Project[Budget] * [Percent Complete]). CPI is DIVIDE([Earned Value], [Actual Cost]); below 1 means more expensive than planned.
Task 1: earned value
Task Create the measure "Earned Value": for each project budget times percent complete, then the sum over the projects. Use SUMX over Project so the total row is right too.
Project 7 rows, 7 columns
| ProjectID | Project | Division | Manager | StartDate | EndDate | Budget |
|---|---|---|---|---|---|---|
| 1 | Website relaunch | Marketing | Emma Clarke | 3 Mar 2025 | 31 Oct 2025 | 157000 |
| 2 | ERP rollout | IT | Tom Walker | 5 May 2025 | 26 Jun 2026 | 341000 |
| 3 | Warehouse redesign | Operations | Emma Clarke | 1 Sep 2025 | 24 Apr 2026 | 147000 |
| 4 | Customer portal | IT | Tom Walker | 12 Jan 2026 | 18 Dec 2026 | 267000 |
| 5 | Trade show 2026 | Marketing | Emma Clarke | 2 Feb 2026 | 25 Sep 2026 | 145000 |
| 6 | Warehouse scanners | Operations | Tom Walker | 4 May 2026 | 26 Feb 2027 | 203000 |
| 7 | Data center move | IT | Emma Clarke | 1 Feb 2027 | 24 Sep 2027 | 164000 |
Task 52 rows, 7 columns
| TaskID | ProjectID | Task | StartDate | DueDate | FinishDate | PlannedHours |
|---|---|---|---|---|---|---|
| 1 | 1 | Project management | 3 Mar 2025 | 31 Oct 2025 | 12 Nov 2025 | 385 |
| 2 | 1 | Briefing | 3 Mar 2025 | 9 May 2025 | 2 May 2025 | 130 |
| 3 | 1 | Campaign concept | 7 Apr 2025 | 6 Jun 2025 | 13 Jun 2025 | 333 |
| 4 | 1 | Visual design | 12 May 2025 | 11 Jul 2025 | 4 Jul 2025 | 504 |
| 5 | 1 | Copywriting | 16 Jun 2025 | 15 Aug 2025 | 12 Aug 2025 | 288 |
| 6 | 1 | Production | 14 Jul 2025 | 19 Sep 2025 | 16 Sep 2025 | 510 |
| 7 | 1 | Launch | 18 Aug 2025 | 24 Oct 2025 | 21 Oct 2025 | 220 |
| 8 | 2 | Project management | 5 May 2025 | 26 Jun 2026 | 22 Jun 2026 | 720 |
| 9 | 2 | Requirements | 5 May 2025 | 8 Aug 2025 | 8 Aug 2025 | 504 |
| 10 | 2 | Design concept | 23 Jun 2025 | 26 Sep 2025 | 19 Sep 2025 | 322 |
| 11 | 2 | Build phase 1 | 11 Aug 2025 | 14 Nov 2025 | 20 Nov 2025 | 650 |
| 12 | 2 | Build phase 2 | 6 Oct 2025 | 2 Jan 2026 | 6 Jan 2026 | 650 |
Showing the first 12 of 52 rows.
Measures: [Percent Complete]
Timesheet 673 rows, 5 columns
| EntryID | Date | TaskID | ResourceID | Hours |
|---|---|---|---|---|
| 1 | 7 Mar 2025 | 1 | 1 | 13 |
| 2 | 7 Mar 2025 | 2 | 2 | 13.5 |
| 3 | 14 Mar 2025 | 1 | 1 | 10 |
| 4 | 14 Mar 2025 | 2 | 2 | 15.5 |
| 5 | 21 Mar 2025 | 1 | 1 | 10 |
| 6 | 21 Mar 2025 | 2 | 2 | 12.5 |
| 7 | 28 Mar 2025 | 1 | 1 | 12.5 |
| 8 | 28 Mar 2025 | 2 | 2 | 14 |
| 9 | 4 Apr 2025 | 1 | 1 | 12.5 |
| 10 | 4 Apr 2025 | 2 | 2 | 14 |
| 11 | 11 Apr 2025 | 1 | 1 | 14 |
| 12 | 11 Apr 2025 | 2 | 2 | 15 |
Showing the first 12 of 673 rows.
Measures: [Actual Hours]
Resource 10 rows, 5 columns
| ResourceID | Name | Role | HourlyRate | DailyHours |
|---|---|---|---|---|
| 1 | Emma Clarke | Project manager | 95 | 8 |
| 2 | Tom Walker | Project manager | 95 | 8 |
| 3 | Lucy Evans | Developer | 85 | 8 |
| 4 | Ravi Patel | Logistics planner | 75 | 8 |
| 5 | Mia Lang | Developer | 80 | 6 |
| 6 | Sam Kerr | Consultant | 110 | 8 |
| 7 | Grace Ross | Designer | 75 | 8 |
| 8 | Ben Hughes | Logistics planner | 70 | 8 |
| 9 | Olivia Turner | Marketing | 70 | 6 |
| 10 | Jack Brooks | Purchasing | 65 | 8 |
Date 730 rows, 4 columns
| Date | Year | Month | MonthName |
|---|---|---|---|
| 1 Jan 2025 | 2025 | 1 | Jan |
| 2 Jan 2025 | 2025 | 1 | Jan |
| 3 Jan 2025 | 2025 | 1 | Jan |
| 4 Jan 2025 | 2025 | 1 | Jan |
| 5 Jan 2025 | 2025 | 1 | Jan |
| 6 Jan 2025 | 2025 | 1 | Jan |
| 7 Jan 2025 | 2025 | 1 | Jan |
| 8 Jan 2025 | 2025 | 1 | Jan |
| 9 Jan 2025 | 2025 | 1 | Jan |
| 10 Jan 2025 | 2025 | 1 | Jan |
| 11 Jan 2025 | 2025 | 1 | Jan |
| 12 Jan 2025 | 2025 | 1 | Jan |
Showing the first 12 of 730 rows.
In every project row the result is the same with or without SUMX. The difference is in the total row. The lesson on SUMX and iterators shows why an iterator calculates differently there.
Task 2: CPI
Task Create the measure "CPI" (cost performance index): earned value divided by actual cost, using DIVIDE.
Project 7 rows, 7 columns
| ProjectID | Project | Division | Manager | StartDate | EndDate | Budget |
|---|---|---|---|---|---|---|
| 1 | Website relaunch | Marketing | Emma Clarke | 3 Mar 2025 | 31 Oct 2025 | 157000 |
| 2 | ERP rollout | IT | Tom Walker | 5 May 2025 | 26 Jun 2026 | 341000 |
| 3 | Warehouse redesign | Operations | Emma Clarke | 1 Sep 2025 | 24 Apr 2026 | 147000 |
| 4 | Customer portal | IT | Tom Walker | 12 Jan 2026 | 18 Dec 2026 | 267000 |
| 5 | Trade show 2026 | Marketing | Emma Clarke | 2 Feb 2026 | 25 Sep 2026 | 145000 |
| 6 | Warehouse scanners | Operations | Tom Walker | 4 May 2026 | 26 Feb 2027 | 203000 |
| 7 | Data center move | IT | Emma Clarke | 1 Feb 2027 | 24 Sep 2027 | 164000 |
Measures: [Earned Value]
Task 52 rows, 7 columns
| TaskID | ProjectID | Task | StartDate | DueDate | FinishDate | PlannedHours |
|---|---|---|---|---|---|---|
| 1 | 1 | Project management | 3 Mar 2025 | 31 Oct 2025 | 12 Nov 2025 | 385 |
| 2 | 1 | Briefing | 3 Mar 2025 | 9 May 2025 | 2 May 2025 | 130 |
| 3 | 1 | Campaign concept | 7 Apr 2025 | 6 Jun 2025 | 13 Jun 2025 | 333 |
| 4 | 1 | Visual design | 12 May 2025 | 11 Jul 2025 | 4 Jul 2025 | 504 |
| 5 | 1 | Copywriting | 16 Jun 2025 | 15 Aug 2025 | 12 Aug 2025 | 288 |
| 6 | 1 | Production | 14 Jul 2025 | 19 Sep 2025 | 16 Sep 2025 | 510 |
| 7 | 1 | Launch | 18 Aug 2025 | 24 Oct 2025 | 21 Oct 2025 | 220 |
| 8 | 2 | Project management | 5 May 2025 | 26 Jun 2026 | 22 Jun 2026 | 720 |
| 9 | 2 | Requirements | 5 May 2025 | 8 Aug 2025 | 8 Aug 2025 | 504 |
| 10 | 2 | Design concept | 23 Jun 2025 | 26 Sep 2025 | 19 Sep 2025 | 322 |
| 11 | 2 | Build phase 1 | 11 Aug 2025 | 14 Nov 2025 | 20 Nov 2025 | 650 |
| 12 | 2 | Build phase 2 | 6 Oct 2025 | 2 Jan 2026 | 6 Jan 2026 | 650 |
Showing the first 12 of 52 rows.
Measures: [Percent Complete]
Timesheet 673 rows, 5 columns
| EntryID | Date | TaskID | ResourceID | Hours |
|---|---|---|---|---|
| 1 | 7 Mar 2025 | 1 | 1 | 13 |
| 2 | 7 Mar 2025 | 2 | 2 | 13.5 |
| 3 | 14 Mar 2025 | 1 | 1 | 10 |
| 4 | 14 Mar 2025 | 2 | 2 | 15.5 |
| 5 | 21 Mar 2025 | 1 | 1 | 10 |
| 6 | 21 Mar 2025 | 2 | 2 | 12.5 |
| 7 | 28 Mar 2025 | 1 | 1 | 12.5 |
| 8 | 28 Mar 2025 | 2 | 2 | 14 |
| 9 | 4 Apr 2025 | 1 | 1 | 12.5 |
| 10 | 4 Apr 2025 | 2 | 2 | 14 |
| 11 | 11 Apr 2025 | 1 | 1 | 14 |
| 12 | 11 Apr 2025 | 2 | 2 | 15 |
Showing the first 12 of 673 rows.
Measures: [Actual Hours], [Actual Cost]
Resource 10 rows, 5 columns
| ResourceID | Name | Role | HourlyRate | DailyHours |
|---|---|---|---|---|
| 1 | Emma Clarke | Project manager | 95 | 8 |
| 2 | Tom Walker | Project manager | 95 | 8 |
| 3 | Lucy Evans | Developer | 85 | 8 |
| 4 | Ravi Patel | Logistics planner | 75 | 8 |
| 5 | Mia Lang | Developer | 80 | 6 |
| 6 | Sam Kerr | Consultant | 110 | 8 |
| 7 | Grace Ross | Designer | 75 | 8 |
| 8 | Ben Hughes | Logistics planner | 70 | 8 |
| 9 | Olivia Turner | Marketing | 70 | 6 |
| 10 | Jack Brooks | Purchasing | 65 | 8 |
Date 730 rows, 4 columns
| Date | Year | Month | MonthName |
|---|---|---|---|
| 1 Jan 2025 | 2025 | 1 | Jan |
| 2 Jan 2025 | 2025 | 1 | Jan |
| 3 Jan 2025 | 2025 | 1 | Jan |
| 4 Jan 2025 | 2025 | 1 | Jan |
| 5 Jan 2025 | 2025 | 1 | Jan |
| 6 Jan 2025 | 2025 | 1 | Jan |
| 7 Jan 2025 | 2025 | 1 | Jan |
| 8 Jan 2025 | 2025 | 1 | Jan |
| 9 Jan 2025 | 2025 | 1 | Jan |
| 10 Jan 2025 | 2025 | 1 | Jan |
| 11 Jan 2025 | 2025 | 1 | Jan |
| 12 Jan 2025 | 2025 | 1 | Jan |
Showing the first 12 of 730 rows.
This exercise is part of Premium.
Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.
See Premium Already Premium? Log in
The first exercise in this lesson is free.
Earned value is the part of the budget that was planned for the work done. If actual cost is higher, CPI is below 1.
Common mistakes
Budget times percent complete without SUMX
SUM(Project[Budget]) * [Percent Complete] is right in every project row. In the total row, however, it multiplies the budget of all projects by percent complete across all tasks and gives 1,155,985.82 instead of 1,159,044.68. The difference is small, but every check of the total fails.
CPI upside down
DIVIDE([Actual Cost], [Earned Value]) is the inverse. Then above 1 means bad and below 1 good, and the cost status in case 6 shows exactly the wrong thing.
In real Power BI
- With the 0/100 method a task only counts once it is finished. Running projects such as the warehouse scanners therefore have a low CPI, even though the open tasks are partly done. With 50/50 or reported progress the picture is calmer, but less strict.
- For the schedule performance index SPI you also need the planned value: the budget of the work planned up to the cutoff date. That works with a cutoff as in case 2 and the planned hours of the tasks due by then.
- You practice earned value with planned value, SPI and forecast for one project in the case earned value of the Excel course.
Check your result
- Task 1: The customer portal has an earned value of 243,378.02, the warehouse scanners 125,666.67, and the total is 1,159,044.68.
- Task 2: The warehouse scanners have the lowest CPI at 0.65, the warehouse redesign is at 0.92, the customer portal at 1.07, and the total is 0.96.
Back to case 4 or the course overview.