Forum Discussion
TomLU123
Helper III
7 years agoCount the Completed Task to track the completion rate
Dear Expert, I have a data set like below to track the completion status of each task. Task Assigned to Status Task A Smith Completed Task A Andy In progress Task A Joe Com...
- 7 years ago
this code should work
# of Completed = CALCULATE(COUNTA('Table'[Status]), 'Table'[Status]="Completed") Completion Rate = DIVIDE([# of Completed], COUNTA('Table'[Status]))it counts the rows in the tablem so if the table you presented is an aggragation then additinal SUMMARIZE/GROUPBY will be necessary
Stachu
Community Champion
7 years agothis code should work
# of Completed = CALCULATE(COUNTA('Table'[Status]), 'Table'[Status]="Completed")
Completion Rate = DIVIDE([# of Completed], COUNTA('Table'[Status]))it counts the rows in the tablem so if the table you presented is an aggragation then additinal SUMMARIZE/GROUPBY will be necessary