Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello team,
I'd like to calculate the sum of the task duration for each project mentioned in the PROJECT NAME column.
Is it something possible in PowerBI please ?
Here is my table to ease understanding.
I'd like to create the column named "Sum of durations for each project" without adding a condition on the project name because there are tens of projects.
| PROJECT NAME | Phase | taskDuration | Sum of durations for each project |
| Project1 | Phase1 | 3 | 57 |
| Project1 | Phase1 | 49 | 57 |
| Project1 | Phase1 | 5 | 57 |
| Project1 | Phase2 | 25 | 87 |
| Project1 | Phase2 | 62 | 87 |
| Project1 | Phase3 | 2 | 2 |
| Project1 | Phase3 | 0 | 2 |
| Project1 | Phase4 | 29 | 43 |
| Project1 | Phase4 | 7 | 43 |
| Project1 | Phase4 | 7 | 43 |
| Project1 | Phase5 | 42 | 42 |
| Project22 | Phase1 | 60 | 80 |
| Project22 | Phase1 | 20 | 80 |
| Project22 | Phase2 | 30 | 67 |
| Project22 | Phase2 | 2 | 67 |
| Project22 | Phase2 | 25 | 67 |
| Project22 | Phase2 | 10 | 67 |
| Project22 | Phase3 | 5 | 15 |
| Project22 | Phase3 | 10 | 15 |
| Project22 | Phase4 | 20 | 26 |
| Project22 | Phase4 | 3 | 26 |
| Project22 | Phase4 | 3 | 26 |
| Project22 | Phase5 | 50 | 50 |
For now, I didn't succeed 😐.
Thanks for your advices 🙂
Solved! Go to Solution.
here is your solution:
Perfect, thank you !
I'm too new in PowerBI, not clear to me how it works for now, but I'm going to check that deeper.
here is your solution:
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |