Could I have assistance in aggregating two distinct tables (activity and maintenance activity) in one aggregate table listing all activities, given they use the same parameters? The page in question here
So far, I’ve tried a relational lookup and looking at other community messages without success.
Could you advise if aggregation is something Coda can do?
Secondly, could you advise why the conditional sum aggregation formula is within Tasks?
My suggestion is, generally, fewer tables are always better.
In your example, I would put Activity and Maintenance activity on one (1) table, especially since they have the same parameters/attributes/columns. Then filter the Activity Tasks from the Maintenance Activity Tasks where needed.
Then all other functions are easier to operate such as aggregating, math, etc.
While many new Coda users don’t like simplifying tables in their database construction, it does generally make your life easier. I’ve learned this the hard way with Coda. Build with database best practices and not necessarily how you might view/interact with the data.
If for whatever reason you must have two (2) separate Activity and Maintenance Activity tables, you could create a button and/or automation that adds/modifies entries from both tables to your Aggregated Table view table. So when a row is added/updated on either base tables, a row is added/updated on the Aggregated Table view table.
Another option is to use a Pack. One of the community members created a Pack that can do what you requested but it’s a little complex and does have some significant drawbacks, at least for my purposes, which is why I haven’t use it.
I don’t remember the name of the Pack so I can’t help you there, but I believe it was created by @Paul_Danyliuk and there’s a video demo. Please note that I could be wrong about who developed the pack.