Forum Discussion
Project percent complete
- 5 years ago
PabloGiraldo I was not clear, sorry, I was just filtering the 0% and 100% just to show it was working row by row, not that it is for row by row.
I found that there are some filters for activity id on your main table. When I used them also on the card for the % it shows the 12% overall that I think you are looking for. Please let me know if that is the case!
And that is using this measure:
Percent Complete =DIVIDE (max(DATEDIFF ( MIN ( ScheduleJan21[(*)Start] ), min(TODAY(),max(ScheduleJan21[(*)Finish])), DAY ),0),DATEDIFF ( MIN ( ScheduleJan21[(*)Start] ), MAX ( ScheduleJan21[(*)Finish]), DAY ))
Did not work.
PabloGiraldo I found your other thread with the PBIX. Try this meaure:
I filtered the table to be not 100% or 0% so I could see the %'s to troubleshoot.
- PabloGiraldo5 years agoHelper IV
So i am trying to find the percent complete for the entire job based on today's date. I need to find a way to subract Today's date minus 8/24/20 and divide by 7/4/2024 minus 8/24/20.
- DataZoe5 years agoMicrosoft Employee
PabloGiraldo I am showing your minium on the start date is 1/1/2020 in your data, not 8/24/2020
Which is why it's coming up with 24.67%.
If I fitler the start date to 8/24/2020 then it comes up with the % you are looking for:
- PabloGiraldo5 years agoHelper IV
Do you mind sharing the pbix file for what you did here with the filter? I might have to make this work. I was trying to get a measure to throw on a card but cant seem to make it work the way i wanted. It would also help me for the other cards i already have on the pbix.
- PabloGiraldo5 years agoHelper IV
If i do what you did here, i will get % complete for some activities. Not exactly what i need. Below is used your measure above and filtered by Project Start (8/24/20) and Final Completion (7/4/24) and they are both blank bc one is a Start milestone and the other is a Finish milestone. Meaning there will only be one date (either Start or Finish).
- PabloGiraldo5 years agoHelper IV
Sorry forgot to attach screenshot
- DataZoe5 years agoMicrosoft Employee
PabloGiraldo I was not clear, sorry, I was just filtering the 0% and 100% just to show it was working row by row, not that it is for row by row.
I found that there are some filters for activity id on your main table. When I used them also on the card for the % it shows the 12% overall that I think you are looking for. Please let me know if that is the case!
And that is using this measure:
Percent Complete =DIVIDE (max(DATEDIFF ( MIN ( ScheduleJan21[(*)Start] ), min(TODAY(),max(ScheduleJan21[(*)Finish])), DAY ),0),DATEDIFF ( MIN ( ScheduleJan21[(*)Start] ), MAX ( ScheduleJan21[(*)Finish]), DAY ))- PabloGiraldo5 years agoHelper IV
YES SIR!!! This worked!! thanks a lot!