Forum Discussion
Anonymous
3 years agoNot applicable
Project Count Over time that adds uncompleted projects to future time periods
Hi, I am trying to track project progress across 4 stages, (Committed, In Progress, Testing and Done). The tricky part is I want to take the max status each quarter and if it hasn't reached done...
Anonymous
3 years agoNot applicable
Hi Anonymous
You can refer to the following example
Sample data
Then create a measure
Measure = var b=FILTER(ALL('Table'),[Project]=MAX([Project])&&[Status]="Done")
var c=MAXX(b,[Quarter])
var d=MAXX(FILTER(ALL('Table'),[Project]=MAX('Table'[Project])),[Date])
var e=MAXX(FILTER(ALL('Table'),[Quarter]=MAX([Quarter])),[Date])
return IF(COUNTROWS(b)>0,IF(MAX('Table'[Quarter])=c,"Done",MAXX(FILTER(ALL('Table'),[Date]=e),[Status])),MAXX(FILTER(ALL('Table'),[Project]=MAX('Table'[Project])&&[Date]=d),[Status]))
And put the measure to the matrix visual
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.