Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
| Resource | Task | Priority | Start Date | Duration (day) | End Date |
| Florida | sushi | 1 | 2 | ||
| Florida | pasta | 2 | 4 | ||
| Miami | burito | 1 | 1 | ||
| Miami | nachos | 2 | 2 | ||
| Miami | pizza | 3 | 3 | ||
| Miami | steak | 4 | 1 |
| Resource | Task | Priority | Start Date | Duration (day) | End Date |
| Florida | sushi | 1 | 8/30/2020 | 2 | 9/1/2020 |
| Florida | pasta | 2 | 9/1/2020 | 4 | 9/5/2020 |
| Miami | burito | 1 | 8/30/2020 | 1 | 8/31/2020 |
| Miami | nachos | 2 | 8/31/2020 | 2 | 9/2/2020 |
| Miami | pizza | 3 | 9/2/2020 | 3 | 9/5/2020 |
| Miami | steak | 4 | 9/2/2020 | 1 | 9/3/2020 |
It would be so much appreciated!
Solved! Go to Solution.
@pinar1
Add the following two columns to your table by going to theTable, New Column:
Start Date
Start Date =
var T = TODAY()
VAR P = [Priority ]
RETURN
SWITCH( TRUE(),
P=1, T,
CALCULATE( T + SUM(Table4[Duration (day)]), Table4[Priority ] < P, ALLEXCEPT(Table4,Table4[Resource]))
)End Date
End Date = [Start Date] +[Duration (day)]
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@pinar1
Add the following two columns to your table by going to theTable, New Column:
Start Date
Start Date =
var T = TODAY()
VAR P = [Priority ]
RETURN
SWITCH( TRUE(),
P=1, T,
CALCULATE( T + SUM(Table4[Duration (day)]), Table4[Priority ] < P, ALLEXCEPT(Table4,Table4[Resource]))
)End Date
End Date = [Start Date] +[Duration (day)]
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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.