Case 1: project status and percent complete
The first question in every steering committee: how far along are the projects? You connect the tasks to the projects, count the open tasks and calculate percent complete by planned hours.
In short: open tasks have no finish date, so COUNTROWS(FILTER(Task, ISBLANK(Task[FinishDate]))) counts them. Percent complete is DIVIDE(CALCULATE(SUM(Task[PlannedHours]), NOT ISBLANK(Task[FinishDate])), SUM(Task[PlannedHours])).
Task 1: tasks to projects
Task The project data is loaded, but Task is not connected to Project yet. That is why every project shows the same number of actual hours. Connect Task to Project on ProjectID.
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.
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.
Timesheet filters through Task up to Project. The lesson on relationships shows how relationships pass on the filter.
Task 2: open tasks
Task How much is left to do in each project? Create the measure "Open Tasks": the number of rows in Task whose FinishDate is blank.
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.
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.
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.
Planning tools do not delete finished tasks; they get a date. Counting without a filter counts all tasks, including those finished long ago.
Task 3: percent complete
Task Create the measure "Percent Complete": the planned hours of finished tasks divided by all planned hours, using DIVIDE. A task is finished when FinishDate is not blank.
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.
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.
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.
CALCULATE sums the planned hours with the extra filter "finished", the denominator sees all tasks of the project. More in the lesson on CALCULATE.
Common mistakes
Counting tasks instead of hours
DIVIDE(COUNTROWS(FILTER(Task, NOT ISBLANK(Task[FinishDate]))), COUNTROWS(Task)) counts every task the same. For the customer portal that gives 87.5% instead of 91.2%, for the warehouse scanners 57.1% instead of 61.9%. With many small finished tasks and one large open one, the project looks further along than it is.
Progress from actual hours
Actual hours divided by planned hours measures how much time has been used, not how much is done. A project that has used 120% of its hours is not 120% complete.
In real Power BI
- Many planning tools deliver a percentage per task that people enter themselves. The 0/100 method used here is stricter, but it cannot be made to look better. A common middle ground is 50/50: half the planned hours at the start, the rest at completion.
- For the status on an earlier day you need a cutoff date as in case 2: finished on or before the cutoff.
Check your result
- Task 1: After the relationship every project has its own actual hours, the ERP rollout 3,356, and the total is 14,090.5.
- Task 2: 12 tasks are open: 8 for the data center move, 3 for the warehouse scanners, 1 for the customer portal.
- Task 3: The customer portal is at 91.2%, the warehouse scanners at 61.9%, the finished projects at 100%, and the total is 81.2%.
Back to the course overview.