Jan 22, 2019 09:05 AM
Hi,
I’m using Airtable for the first time for a project release.
I have one master table with a record for each release versions, and separate tables for each individual release. I have a bunch of records in each release table, and each record has a single select field with either To Do, Doing or Done.
For each record on the master table, I want to have a field which calculates the percentage of how many records are marked as Done. Is this possible?
Thanks
Jan 22, 2019 09:26 AM
The easiest way would be to create a formula field in each release table with the formula IF({Status}='Done',1)
. Then from your [Master]
table record, you could either roll up the formula field using an aggregation function of SUM(values)
, for a raw count, or use a combination of toll up and count fields to calculate a percentage.
Jan 22, 2019 10:05 AM
Thanks. How do I access the formula field from the master table? I tried linking, but I couldn’t figure out how to do it.
Jan 22, 2019 12:42 PM
Oh, I was assuming each record in the [Master]
table was linked to all of the records in the release table for that release—
—actually, on re-reading, I see you say you have separate tables for each release. The way I’d expect to see such a base structured would be as such:
(The red lines represent linked records.)
This way, you’re managing only two tables; each of your release records is of an identical type; and you can make use of the links between your master table record and the associated release records to do such things as, for instance, roll up number and percent or records marked ‘Done.’
Maintaining individual tables per release starts out messy and ends even messier. Fortunately, assuming each table has the same data layout, you can build a combined table through copy-and-paste. (Just remember to add a {Release}
field to each table first and fill it with the appropriate release number; that way, once you create the combined release table, you know how to link the records.)
Bonus points:
{Release}
field in each release table.Release 1.0
’, make sure the newly added {Release}
field in your [Release 1.0]
table — for every record in the table — is also set to ‘Release 1.0
’.{Release}
field added and populated, create your combined [Releases]
table. Easiest way:
[Release 1.0]
table.[Release 1.1]
table (in another tab if you wish).Ctrl-C
.)[Release 1.0]
.Ctrl-V
; authorize adding new records to the table.{Release}
field and select ‘Customize field type’.[Master]
table.This will automatically link every release record to the appropriate master record (and vice versa) without requiring any manual links be made.