Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a cumulative total for hours over time :
Solved! Go to Solution.
Hi,
I do not know how your semantic model looks like, but please try something like below whether it suits to solve the issue.
Cumulative_Hours =
CALCULATE (
SUM ( QryTimesheets[Labor Hours] ),
FILTER (
ALLSELECTED ( QryTimesheetS ),
QryTimesheets[PA Period End Date] <= MAX ( QryTimesheets[PA Period End Date] )
&& QryTimesheets[GRP] = MAX ( QryTimesheets[GRP] )
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Fantastic - thank you so very much
Hi,
I do not know how your semantic model looks like, but please try something like below whether it suits to solve the issue.
Cumulative_Hours =
CALCULATE (
SUM ( QryTimesheets[Labor Hours] ),
FILTER (
ALLSELECTED ( QryTimesheetS ),
QryTimesheets[PA Period End Date] <= MAX ( QryTimesheets[PA Period End Date] )
&& QryTimesheets[GRP] = MAX ( QryTimesheets[GRP] )
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.