Forum Discussion
javirmerino
Helper III
6 years agoDate Time + x Working Hours (DAX)
First of all; thanks to everyone that's helped me out this week. I really appreciate it, guys! I'm trying to calculate an expected end time and date based on a start time and a priority status so...
vanessafvg
Community Champion
6 years agojavirmerino you could something like this, just need to adjust for your names
expected end time =
IF (
isworkday = 1
&& isholiday = 0,
issues[StartingPoint] + TIME ( RELATED ( lookup[Hours] ), 0, 0 ),
BLANK ()
)
javirmerino
Helper III
6 years agoThanks vanessafvg, thats about as far as i got, too. This would be my solution if it were just adding hours, but i need it to add working hours only.
Somehow, the hours added timer needs to stop at 5pm and restart on 9am the next working day. The issue being that Low priority requests have a 40 hour SLA so they wouldnt even be due in the same week, let alone the same day!