Forum Discussion
Calculate Hours excluding overlapping timestamp values
Not sure if this will help or not but I noticed the previous records variable was only looking for entries that were less than the current start so it would never find a same start time.
To solve that I created an index column based on concatenating startTime, endTime and ticketID to prevent duplicates and then adjusted the existing code to look for previous values based on the index number.
Index Calculated Column:
Thanks jgeddes for the suggestion. I do not think that is going to work. Tickets are not in any specific order, so members can back date time causing ticket numbers for prior days to be a higher number than tickets for today. I tried to test it out to see if I was wrong and it would work, but performance on it is very slow and I cannot get the new column to populate.