Hello!
Have a bit of a challenge and wondering if anyone else has been in a similar situation / need, and how they may have addressed it.
Scenario
(1) Simplified case: Say I have a Projects table that specifies a StartDate, EndDate, and EstimatedHours. I have one record (Project#1) that starts in JAN and ends in AUG with 800 hours. Assuming a simple linear average, how [would we get Airtable to tell me how] many hours should I expect to spend in MAY?
(2) The first complication: There are many projects (of course), each with their own overlapping StartDate, EndDate, and EstimatedHours. How I can get Airtable to report what our total monthly commitment is for MAY? JUN? etc?
(3) The second complication: Say there is also a Resources table (i.e. the labour that will be working down the commitments). Each of these records has their own StartDate, EndDate, and AvailableHours (not actually, but simplified for our purposes here). How would I see [and use in other calculations] the result of (2) alongside the analogous metric from Resources? Or perhaps more declaratively: How could I chart my monthly loading ratio (i.e. total estimate / total available, by month)?
The base isn't actually built like the above, but hopefully it conveys the core functional bits I'm looking to solve!
Solution so far
We can get a version of the time-phasing / aggregating using the Timeline interface page and its Summarise feature. However, that appears baked into the view, and isn't materialised into the data for further manipulation. Also that's just one table.
The main obstacle seems to be [native] multi-table calculations being coupled to linked record fields. There is nothing binding any given Project to any given Resource in MAY, apart from the fact that their start/end dates both straddle that month.
The approach I've currently chambered is to create a master calendar table, then set up a series of automations that [on new / on change / forced reindex] link each record, of each relevant table, to each of their applicable date records, on the master calendar. I can then use this master calendar to spin off what I need.
HOWEVER, that feels like a lot of artifice and overhead and secondary records and record links... So again, just wondering if anyone else has encountered a similar situation / need, how they may have addressed it, or if people have any ideas. Sorry for the long post!