Forum Discussion
Measure for Start and End Dates - Days Assigned Graph
- Anonymous2 years ago
Hi draxicle1
Try the following measure
Measure = SUMX( CalendarTable, CALCULATE( COUNTROWS(P6_Planned), FILTER( P6_Planned, P6_Planned[Start] <= CalendarTable[Date] && P6_Planned[Finish] >= CalendarTable[Date] ) ) )This is the result you want
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi draxicle1
Try the following measure
Measure =
SUMX(
CalendarTable,
CALCULATE(
COUNTROWS(P6_Planned),
FILTER(
P6_Planned,
P6_Planned[Start] <= CalendarTable[Date]
&& P6_Planned[Finish] >= CalendarTable[Date]
)
)
)
This is the result you want
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- draxicle12 years ago
Helper I
This is great. Thank you so much for your time. I have replicated this is my main model.
The only fly in the ointment (I learned from a recent meeting) is that I made the assumption that every day between the start and finish is actively being used on every activity in the list. Apparently there will be a new column that shows the amount of time (effort in hours) used between those dates. So I guess if you had 10 days duration, but only 24 hours of actual effort spread across those, you would have an average 2.4 hours showing every day.
Perhaps that's one for another post.
Thanks all the same.