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
ProjectIDProjectDivisionManagerStartDateEndDateBudget
1Website relaunchMarketingEmma Clarke3 Mar 202531 Oct 2025157000
2ERP rolloutITTom Walker5 May 202526 Jun 2026341000
3Warehouse redesignOperationsEmma Clarke1 Sep 202524 Apr 2026147000
4Customer portalITTom Walker12 Jan 202618 Dec 2026267000
5Trade show 2026MarketingEmma Clarke2 Feb 202625 Sep 2026145000
6Warehouse scannersOperationsTom Walker4 May 202626 Feb 2027203000
7Data center moveITEmma Clarke1 Feb 202724 Sep 2027164000
Task 52 rows, 7 columns
TaskIDProjectIDTaskStartDateDueDateFinishDatePlannedHours
11Project management3 Mar 202531 Oct 202512 Nov 2025385
21Briefing3 Mar 20259 May 20252 May 2025130
31Campaign concept7 Apr 20256 Jun 202513 Jun 2025333
41Visual design12 May 202511 Jul 20254 Jul 2025504
51Copywriting16 Jun 202515 Aug 202512 Aug 2025288
61Production14 Jul 202519 Sep 202516 Sep 2025510
71Launch18 Aug 202524 Oct 202521 Oct 2025220
82Project management5 May 202526 Jun 202622 Jun 2026720
92Requirements5 May 20258 Aug 20258 Aug 2025504
102Design concept23 Jun 202526 Sep 202519 Sep 2025322
112Build phase 111 Aug 202514 Nov 202520 Nov 2025650
122Build phase 26 Oct 20252 Jan 20266 Jan 2026650

Showing the first 12 of 52 rows.

Measures: [Percent Complete]

Timesheet 673 rows, 5 columns
EntryIDDateTaskIDResourceIDHours
17 Mar 20251113
27 Mar 20252213.5
314 Mar 20251110
414 Mar 20252215.5
521 Mar 20251110
621 Mar 20252212.5
728 Mar 20251112.5
828 Mar 20252214
94 Apr 20251112.5
104 Apr 20252214
1111 Apr 20251114
1211 Apr 20252215

Showing the first 12 of 673 rows.

Measures: [Actual Hours]

Resource 10 rows, 5 columns
ResourceIDNameRoleHourlyRateDailyHours
1Emma ClarkeProject manager958
2Tom WalkerProject manager958
3Lucy EvansDeveloper858
4Ravi PatelLogistics planner758
5Mia LangDeveloper806
6Sam KerrConsultant1108
7Grace RossDesigner758
8Ben HughesLogistics planner708
9Olivia TurnerMarketing706
10Jack BrooksPurchasing658
Date 730 rows, 4 columns
DateYearMonthMonthName
1 Jan 202520251Jan
2 Jan 202520251Jan
3 Jan 202520251Jan
4 Jan 202520251Jan
5 Jan 202520251Jan
6 Jan 202520251Jan
7 Jan 202520251Jan
8 Jan 202520251Jan
9 Jan 202520251Jan
10 Jan 202520251Jan
11 Jan 202520251Jan
12 Jan 202520251Jan

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
ProjectIDProjectDivisionManagerStartDateEndDateBudget
1Website relaunchMarketingEmma Clarke3 Mar 202531 Oct 2025157000
2ERP rolloutITTom Walker5 May 202526 Jun 2026341000
3Warehouse redesignOperationsEmma Clarke1 Sep 202524 Apr 2026147000
4Customer portalITTom Walker12 Jan 202618 Dec 2026267000
5Trade show 2026MarketingEmma Clarke2 Feb 202625 Sep 2026145000
6Warehouse scannersOperationsTom Walker4 May 202626 Feb 2027203000
7Data center moveITEmma Clarke1 Feb 202724 Sep 2027164000

Measures: [Earned Value]

Task 52 rows, 7 columns
TaskIDProjectIDTaskStartDateDueDateFinishDatePlannedHours
11Project management3 Mar 202531 Oct 202512 Nov 2025385
21Briefing3 Mar 20259 May 20252 May 2025130
31Campaign concept7 Apr 20256 Jun 202513 Jun 2025333
41Visual design12 May 202511 Jul 20254 Jul 2025504
51Copywriting16 Jun 202515 Aug 202512 Aug 2025288
61Production14 Jul 202519 Sep 202516 Sep 2025510
71Launch18 Aug 202524 Oct 202521 Oct 2025220
82Project management5 May 202526 Jun 202622 Jun 2026720
92Requirements5 May 20258 Aug 20258 Aug 2025504
102Design concept23 Jun 202526 Sep 202519 Sep 2025322
112Build phase 111 Aug 202514 Nov 202520 Nov 2025650
122Build phase 26 Oct 20252 Jan 20266 Jan 2026650

Showing the first 12 of 52 rows.

Measures: [Percent Complete]

Timesheet 673 rows, 5 columns
EntryIDDateTaskIDResourceIDHours
17 Mar 20251113
27 Mar 20252213.5
314 Mar 20251110
414 Mar 20252215.5
521 Mar 20251110
621 Mar 20252212.5
728 Mar 20251112.5
828 Mar 20252214
94 Apr 20251112.5
104 Apr 20252214
1111 Apr 20251114
1211 Apr 20252215

Showing the first 12 of 673 rows.

Measures: [Actual Hours], [Actual Cost]

Resource 10 rows, 5 columns
ResourceIDNameRoleHourlyRateDailyHours
1Emma ClarkeProject manager958
2Tom WalkerProject manager958
3Lucy EvansDeveloper858
4Ravi PatelLogistics planner758
5Mia LangDeveloper806
6Sam KerrConsultant1108
7Grace RossDesigner758
8Ben HughesLogistics planner708
9Olivia TurnerMarketing706
10Jack BrooksPurchasing658
Date 730 rows, 4 columns
DateYearMonthMonthName
1 Jan 202520251Jan
2 Jan 202520251Jan
3 Jan 202520251Jan
4 Jan 202520251Jan
5 Jan 202520251Jan
6 Jan 202520251Jan
7 Jan 202520251Jan
8 Jan 202520251Jan
9 Jan 202520251Jan
10 Jan 202520251Jan
11 Jan 202520251Jan
12 Jan 202520251Jan

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.

Next: case 6, portfolio report with a role

Every division head sees only their projects, plus a cost status based on CPI.

Go to case 6

Back to case 4 or the course overview.

Write to us

Choose language

Select your preferred language