Apr 21, 2022 08:23 AM
I have the following hierarchy within my agency:
Customers: Who take multiple services each month
Services: Which are made up of multiple tasks
Tasks: Which have multiple people work on them, all taking a different amount of time
People: Who have a different hourly cost
I have built the following tables in Airtable
I have a ‘Services Delivered’ Table and each month we add to it the customer and the service they have taken (a new record/row for each).
What I’m struggling with is how I can create a report (or a table first that needs to facilitate this) that shows me the amount of time spent on services that month by person. I’m guessing this would need to roll up the volume of services added for every customer across the month and also roll up the tasks which make up those services and finally rolls up the time by person spent on each.
I just can’t figure out how to report on that or if and how I build a table to report on tha
Apr 21, 2022 09:25 AM
You would likely need one more table for Reports.
DATETIME_FORMAT({Date of Service}, "YYYY-MM")
Now you have a single record for each month that will be linked to all the services performed that month. For existing [Services Performed] records you’ll have to copy the Formula to the Link fields yourself as the Automation will only handle new records.
Depending on how many people you have, you may have quite a few count fields. If that becomes unwieldly, or if you have an ever-growing list of people, you may need to modify the above instructions slightly:
This base on the Airtable Universe uses an approach similar to the one outlined above to get reports at month, year, etc. intervals. You can take a look at the formulas there, and look at the included Script App that will help you build formulas if need be: