I know this one is a bit out there, but I’m getting some strange results when using this expression:
TIME(Asset Log[Timestamp]) -
ANY(SELECT(Asset Log[Out],
AND([Associate Name]=[_THISROW].[Associate Name],DATE(Asset Log[Timestamp])=DATE([_THISROW].[Timestamp]),[Action]=TRUE)
))
What it should be doing is selecting a timestamp, then comparing it to the previous, and calculating the difference. What it’s doing is spitting out a date from 1969.
It may be because it’s almost midnight and I’m falling asleep at my desk, that I can’t see why, but I thought I’d offer it up for anyone who’s more awake than I. Any suggestions welcome.
Notes: [Action] is just a Boolean to show on duty/off duty.