I have a table (resulting pivot table) about the occupation/usage of a resource over time. The table is something like