Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
briodan
Frequent Visitor

Percent complete by category

I need to calculate the percent complete of tasks assigned to users

Here is what my data looks like:

UserTaskStatus
a1start
a2progress
a3progress
a4complete
b5start
b6start
b7progress
c8complete
c9complete

 

What i need is to get a report that shows what percent of tasks they have completed from the ones assigned to them.

UserPercent Complete
a25%
b0%
c100%

 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Here is a solution.

 

It gets more complex if you want to apply FILTER() to the formula so that person b will show up and you do not need to show all categories.  If filtering for Complete, person b will not show up.  In the FILTER() case, the Measure is hard coded for Complete.

 

Here is the measure and a snippet below showing my results using your provided data:

 

% of Status =
COUNT ( data[Status] ) / CALCULATE (
COUNT ( data[Status] ),
ALLEXCEPT ( data, data[User] )
)

 

Capture.JPG

 

 

View solution in original post

Anonymous
Not applicable

@briodan,

You can create a measure using DAX below.

Pecent complete = DIVIDE(CALCULATE(COUNTA(data[Status]),FILTER(data,data[Status]="complete")),COUNTA(data[Status]))+0


For more details, please review attached PBIX file.

Regards,
Lydia

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hello MS,

How can i get the percentage completion of my work items lets say i have this data.

IDWork Item Type Title% of Completion
1Feature Feature 1 
2User Story MVP 01 Common Backlog Establishment 
3Task Establish the Delivery & SRE Team Roster including PO, SM 
4Task Establish a common backlog in AzDO (team level), including access for all team members 
5Task DevSecOps Team kickoff (can be part of first Sprint Planning/other team event) 
6Task Common Backlog - Core/Cloud Teams 
7Task Common Backlog - Project to Product Teams 
8User Story MVP 02 Code is Peer Reviewed 
9User Story MVP 03 Business Owner(s) engaged in prioritization 
10User Story MVP 04 Release Risks Accepted by Product Owner 
11Feature Feature 2 
12User Story MVP 01 Common Backlog Establishment 
13Task Establish the Delivery & SRE Team Roster including PO, SM 
14Task Establish a common backlog in AzDO (team level), including access for all team members 
15Task DevSecOps Team kickoff (can be part of first Sprint Planning/other team event) 
16Task Common Backlog - Core/Cloud Teams 
17Task Common Backlog - Project to Product Teams 
18User Story MVP 02 Code is Peer Reviewed 
19User Story MVP 03 Business Owner(s) engaged in prioritization 
20User Story MVP 04 Release Risks Accepted by Product Owner 

 

Expected Results:


IDWork Item TypeTitle% of Completion
1FeatureFeature 1 ?
11FeatureFeature 2?
Anonymous
Not applicable

@briodan,

You can create a measure using DAX below.

Pecent complete = DIVIDE(CALCULATE(COUNTA(data[Status]),FILTER(data,data[Status]="complete")),COUNTA(data[Status]))+0


For more details, please review attached PBIX file.

Regards,
Lydia

Anonymous
Not applicable

Here is a solution.

 

It gets more complex if you want to apply FILTER() to the formula so that person b will show up and you do not need to show all categories.  If filtering for Complete, person b will not show up.  In the FILTER() case, the Measure is hard coded for Complete.

 

Here is the measure and a snippet below showing my results using your provided data:

 

% of Status =
COUNT ( data[Status] ) / CALCULATE (
COUNT ( data[Status] ),
ALLEXCEPT ( data, data[User] )
)

 

Capture.JPG

 

 

Thanks that is really close to what I need.

 

I need to only display the Complete status with its value, its ok if users with 0%or blank% show up in the list.

So i guess i need the more complex option.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.