Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Creating summary data in a table

Topic Labels: Formulas
351 1
Showing results for 
Search instead for 
Did you mean: 

I don’t think I’m thinking about this the right way…

I have two tables:


hostId, eventname, city
20, event1, helsinki
20, event2, stockholm
21, eventN, toronto


hostID, hostname, totalEvents

20, biff, count of all rows from event table where hostID = 20
21, biffette, count of all rows from event table where hostID = 21

No matter what I’ve tried to link, rollup, or count, the field in the Hosts table always shows 1.

I can easily generate this using a Pivot, but I want to use that summary data in other systems that I connect via Zapier.

For example, when a new event is scheduled I want to send a notification to another system to say "congrats to {host} on scheduling their {countOfEvents} event!

1 Reply 1

bangs head on desk

ok, here’s the problem. I migrated my data from another system to Airtable and I assumed when I was linking the tables, I could choose the foreign key (hostID) to link them, but it turns out all i needed to do was to change the integer field in my events table to a Linked Field (which I thought would mess something up…) and now it all works.