Counting the number of people working at a given time
问题 I have data the shows when employees log in and when they log out. I call the duration they are logged in "Ready" time and the time they are logged off as "Not Ready" time. What I want to do is have a continuous, gradient timeline that shows how many people are in the ready state. Some notes about the data: The data has a start time and an end time. Each record is unique for the employee and the start time? I unfortunately cannot post this data as it does not belong to me. 回答1: Let's say that