Jan 07, 2021 07:23 AM
Hello everyone,
I found a way to get a nice view for my attendance tracking for my workers. However the process to enter the data is tedious. In the end, I want to see a view groupe by dates, then by attended / absent, and then by type of workers (foreman, worker, project manager, sub contractor etc.) Here is the view I came up with:
However, the way I came up with this view is to add a new field for every worker on a specific day and this is a lot of work if I have 100+ workers on site.
Is there a way to make this easier? I have a second table where I can toggle a worker to be either active or layed-off. Is it possible to automate a daily copy / paste of the active workers and then I can just go through the list and specify if this worker is present on site on that day or not?
I tried to use one date with a link to multiple records, however there is not much I can do when it comes to grouping. See what I mean here:
Any tips on how I can optimise my current way of getting that nice view would be appreciated.
Thanks,
Jan 07, 2021 09:46 AM
If there isn’t an easy way to do this, is it possible to do the following:
Thanks,
Jan 07, 2021 12:08 PM
If you have a paid Airtable version, you could auto create the different lines in your first table, based on the present day and the active/inactive status from your second table. Eg, when, on the second table, the date you fill in is equal to “today()” and the status is “active”, then create a record in table 1 with today’s date, name of the worker and his function.
But it all starts with a paid account imo.
Jan 07, 2021 12:23 PM
Hi @Databaser, thank you for the reply.
I do have a paid account but have trouble understanding how the line will “auto create”. Could you elaborate on how this can be done?
I am currently using only one table with two different views.
Jan 07, 2021 01:23 PM
Well, it could be something in the lines of…
Table 1 > fields:
Table 2 > fields:
Create an automation
The manually work in this solution is to add the dates and statuses to table 1. After that the automation should create the records in table 2. By using “single line text” fields and not “linked records”, you will have a log of previous days that won’t change anymore.
See if that works? Didn’t test it, so there could be some flaws in this.
Edit: since the “name” field is a linked record, you will be able to “rollup” data from table 2 for each worker (eg sum of # of worked days)
Jan 09, 2021 06:52 PM
Thank you for taking the time to help me, this is not perfect but it is getting me closer to a solution.
Table 1
Name - Status
Kevin - Active
Rafael - Active
Marc - Inactive
Table 2
Date - Name - Attendance
Jan.9 - Kevin - Present
Jan.9 - Rafael - Present
Today is January 9, but I want to prepare the list of attendees for Monday January 11th
I want to trigger the action that will take Kevin and Rafael (active workers from table 1, paste in in table 2 with the date January 11th
Then I can specify if those workers are present or absent during that day:
Table 2
Date - Name - Attendance
Jan.9 - Kevin - Present
Jan.9 - Rafael - Present
Jan.11 - Kevin -
Jan.11 - Rafael -
I will try to use automation like you proposed, maybe I can get it to do what I want with some practice.
If I have trouble figuring it out I will write back here.
Thanks again
Jan 11, 2021 12:23 AM
Hmm, another idea to add to the exercise :slightly_smiling_face:
In table 1, create a formula field (eg “today”) with TODAY()
(gives the current date) and another formula field (eg “check today”) with IF(AND(Today=TODAY(),Status="active"),"check",BLANK())
(gives a daily “check” when worker is active) .
Create an automation where “when a record matches conditions” > “when ‘check today’ contains ‘check’”, and the action is “create record” > in table 2, with the primary date field = “today” field of table 1 and the “worker” field (linked field with table 1) = “name” field of table 1.
That way, you should get a daily list in table 2, of workers that are active on that day.
To do:
Just an idea :man_shrugging: