

A rollup field will roll up data from all records in the target linked table, regardless of whether or not those records have been filtered in that table's views. "value" works)! FAQs Does filtering affect rollup fields?īy default, any filtering conditions applied in a view of a table will not affect a rollup of those records in another table. You can avoid this behavior by changing your field name to anything other than "values" (i.e. However, if a field with the name "values" already exists, the Rollup field will use that existing field instead of creating a new one. Under the hood, when you create a new Rollup field that field is essentially attempting to create a new field to aggregate data that will be named "values"(this is shown in the formula above with the syntax MAX(values)). If your table has a field with the name "Values" and you create a new Rollup field you will run into some unintended behavior. You'll now see any values that can be rolled up from the linked table. You can insert various functions in this area for a complete reference of rollup aggregation functions, please see our rollup field reference.Īfter you've finished configuring the rollup field settings, save the field. When you start editing the aggregation input, you will see suggestions for potential rollup functions with a brief description of each function.Īs an example, you can rollup the date field and display the most recent date listed using the MAX(values) function. The last step is to select a way to aggregate the field values from the linked records. Check out the support article on conditional rollups to learn more. When these conditions are added, only records that match these conditions will be used to produce a value in the rollup field. For example, you may only want to rollup records that have a value over a certain amount, or in the example below, records that are not complete and have a kickoff date that falls after the first of the year 2020. This option allows you to only rollup records according to the conditions, or criteria, that you set. Below, a date field is selected from the linked table.Īfter choosing the field that you want to rollup, the next option below it is to only include linked records that meet certain conditions. Next, choose a field that you want to rollup this field will be used to bring in information from the other table you've linked to into the table where the rollup field is being created.


In the example below, the only other table in the base, "Design projects", is automatically selected. Choose a table to summarize recordsĪfter adding the rollup field, the first option you can configure is to choose which table you want to use to summarize records. Implementing this sort of feature might be much more complex for AirTable, since they let multiple admins modify with the schema (with rollbacks) on a live multi-user system.In order to use a rollup field, you have to have a linked record field that's linked to another table in your base. LOOKUP (“select table_2.GetThisInformation from Table_2 where Table_1.Formula = Table_2.Name”, LookUpInformation)ĪirTable certainly feels like it is backed by a relational database, but I have no idea if there is traditional SQL database under the hood. Having a LOOKUP function that could pull data from other related tables without requiring them to be linked by hand. numeric fields or any other field To use an IF function in Airtable, you’ll need to create a new field. It would be great if an Airtable formula could be used to do arbitrary lookups in related (but unlinked) tables, but currently I don’t see any way to do that (without resorting to using their API). You’d like the tables to be “automatically” linked based on the foreign_key / primary_key relationship, but as far as I can tell Airtable doesn’t currently allow for lookups into other tables that Airtable doesn’t know are “linked”.įor an Airtable lookup to work (as I’m sure you know), Airtable has to know how the two tables are linked. You are generating the primary key for Table 2 in the “Formula” field in Table 1.
