Lookup vs Rollup Fields

Тәжірибелік нұсқаулар және стиль

When architecting a database in Airtable, there are many uses for passing data from one table to another. In fact, this is the true power of a relational database. On my team, we call this “spreadsheets in 3D” - when you really start to tap into the relational database element, it’s like working in a spreadsheet that has crazy layers of depth and complexity. The hardest part of that is understanding the difference between Lookup and Rollup fields.
In short, a lookup field looks to a second table that is linked and it returns a field that you specify. The rollup field acts much the same way, with the added bonus of performing some type of “aggregation function” on your data before returning a field.
Each of these field types has its own specific use cases. In this video I outline a few of them, specifically as they pertain to creating proper automations.
Be sure to stick around for the end of the video where I demonstrate a complex use-case. There are many instances where we’ve needed to use this exact (advanced) procedure to establish the proper lookup relationships for our clients - it requires a few extra steps, but be advised that you can easily hide the extra fields from view after you’ve built the proper logical architecture.
What parts of your data presentation and/or automated processes can be streamlined with better use of these complicated field types?
_________________________________________
Learn more at these links: 🔗 👇
Join us for our next live training!
www.garethpronovost.com/webin...
Take our free Airtable Crash Course!
garethpronovost.com/airtable-...
Getting Stuck? See how we can help!
garethpronovost.com
Get our Airtable Field Type download!
www.gapconsulting.io/airtable...
_________________________________________
Table of Contents: 📖 👇
00:00 - What this video covers
01:15 - Framing the Example Database
02:08 - Reasons for using a Lookup or Rollup
02:05 - Why a Direct Link Fails
03:53 - Building a Lookup
06:11 - Where the Lookup Field isn't enough
07:26 - Building a Rollup
09:43 - Complex Example (Putting it all together)
_________________________________________
Software Resources (may contain affiliate links): 💻 👇
Airtable - airtable.com/invite/r/v0eI3ASY
_________________________________________
#GAPConsulting #GarethPronovost #Airtable

Пікірлер: 62

  • @GarethPronovost
    @GarethPronovost3 жыл бұрын

    Join us for our *FREE LIVE TRAINING* that teaches the building blocks of automation: www.garethpronovost.com/webinar-registration

  • @markpoultonsrules
    @markpoultonsrules Жыл бұрын

    Your explaination on the lookup field here is exactly what I needed.

  • @GarethPronovost

    @GarethPronovost

    Жыл бұрын

    So glad to help!

  • @davidhillmer5958
    @davidhillmer59584 жыл бұрын

    Great video! That solved for my problem of having my Task table tell my Project table what phase each project is in. Keep em coming!

  • @riccardovannozzi568
    @riccardovannozzi5684 жыл бұрын

    I'm crazy with access but since I discovered Airtable I'm excited

  • @buildwithk
    @buildwithk3 жыл бұрын

    Thank you. Was looking for great examples like this to help me get my head around this and how the relationship functions work

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Glad this helped and thanks for watching!

  • @MorganBuchanan
    @MorganBuchanan4 жыл бұрын

    Exactly what I needed! Thanks so much!

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    Glad that helped :D

  • @JasemAlqaseer
    @JasemAlqaseer3 жыл бұрын

    The advanced segment starting after minute 9 is very useful. thank you so much

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Glad it was helpful!

  • @khaidang6074
    @khaidang60744 жыл бұрын

    Thank you Gareth for this very helpful tutorial! As a newbie to Airtable, I was concerned that I would not be able to use Lookup like normally do with Excel, but this clears up. It helps a lot as I'm working on creating a database for my students.

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    Glad it helped!

  • @dantekapi5796
    @dantekapi57962 жыл бұрын

    Exactly what I wanted. Simple...Thankyou!😊

  • @GarethPronovost

    @GarethPronovost

    2 жыл бұрын

    Glad to hear it! 🙌

  • @anarosaamorim3851
    @anarosaamorim38513 жыл бұрын

    Nice explanation! Thank you!

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Glad it was helpful! 🙌

  • @ziggerwebdesign1704
    @ziggerwebdesign17044 жыл бұрын

    Excellent, thanks so much.

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    Glad it was helpful!

  • @BrunoPelosi
    @BrunoPelosi3 жыл бұрын

    Great video again

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Appreciate that - happy to help!

  • @parasmehta7793
    @parasmehta77934 жыл бұрын

    Thank You, Boss!

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    Thanks for watching!

  • @jeirmeister1276
    @jeirmeister12765 жыл бұрын

    Thanks for the info Gareth! I find your videos very helpful. I work in a similar field as you, and have been wondering how I would use AirTable to automate the tedious invoicing process. I was struggling to understand the Lookup field and now it makes sense that it would literally "look" into another linked field. This is going to be extremely helpful, as I'm designing a database to coordinate volunteers and event participants.

  • @jeirmeister1276

    @jeirmeister1276

    5 жыл бұрын

    On that note, I just started using the Time Tracking block today. I'm wondering if that can be plugged into the process for invoicing?

  • @GarethPronovost

    @GarethPronovost

    5 жыл бұрын

    @@jeirmeister1276 - glad to be of service. Yes, you can use the time tracking block with an invoicing process. I'd suppose you'd want to calculate a subtotal for an invoice based on the (1) duration and (2) rate. This could be done pretty easily with a formula. I'd caution that you might want to build some sort of function that pushes your automation. For example, you might send this invoice to QBO only after you've reviewed it and checked a box. Otherwise, you might have your automation fire prematurely before you've put all the information in (depending on how you construct this).

  • @chiragjain101
    @chiragjain1013 жыл бұрын

    Great👍

  • @nicmamom
    @nicmamom4 жыл бұрын

    Thanks so much for all your helpful videos. Is it possible to use a roll-up to trigger a Zap when a total is reached in one field?

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    You can trigger a zap from Airtable when a record appears in a specific view. So, to do this, you could create a view called "Automation Trigger" - then set a filter on this view so that records only appear in the view when certain conditions are met. For example, "Roll-up amount >0" - This way, only after a rollup sums more than 0, will the record trigger an automation. Hope this helps!

  • @simdoolaege7982
    @simdoolaege79824 жыл бұрын

    Is there a way to use the number of records for calculations? meaning...if I have a table with 7 records (as stated under the table)... can I retrieve that counted number in a formula? sorry for bothering... is for a COVID 19 programme.

  • @alessandroscaltritti7092
    @alessandroscaltritti70923 жыл бұрын

    Hi, after plenty of tries I have to ask for help. I have a table with a list of clients with a "Last modified time" column. So I can track the last interaction with a client due to some changes in the status or notes fields. In a second table, I would recap how many records have been modified on a specific date (ex: 1 April). I don't understand how to explain to Airtable this logic. Basically, I would check the number of interactions with my clients on specific dates. This data can really be useful for me to monitor the number of my activities and relate them to my goals. Can someone help me out with this issue? Thanks a lot in advance.

  • @kaylebdasilva7415
    @kaylebdasilva74155 жыл бұрын

    Thanks for the videos and info. is there anyway to set notifications to pop up on your desk top instead of having to go into the bell icon? would be good to have so you dont always have to go check for notifications. i know on the mobile it has push notifications just want to know if we can set it up to push on desktop, like whatsapp msger does when a msg comes through. thanks,

  • @GarethPronovost

    @GarethPronovost

    5 жыл бұрын

    Hey Nelson - you can set your notifications to push to the mobile device and you can also choose to receive an email notification. Other than that, the bell icon is the only other way to receive notifications with the native app. That said, you might also consider building a Slack integration. If you don't use it already, Slack has a great free plan and you can integrate this with Airtable rather nicely. This might help you get alerts when important things require your attention!

  • @ahmedalbusaidi9538
    @ahmedalbusaidi95384 жыл бұрын

    Thanks, Gareth for the useful videos. I have been watching your video for weeks now and they are very valuable to me. 1 question: Is there is any way to create "nested single select field" ... for example, I have 3 single select fields "Block", "Floor" and "Room/Location" ... If Block A is selected for example in floor field only values which are related to Block A will appear and if floor GF is selected only rooms and locations related to Block A+GF will appear. Thanks Ahmed

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    Hey Ahmed - sounds like you're looking for a parent/child relationship between datasets, which Airtable doesn't easily offer in it's current form. That said, a developer built a cool tool to help with this if you are submitting a form response. Check out this video for more info: kzread.info/dash/bejne/lJOrpNWFlL2teZc.html Hope this helps!

  • @hoboronin
    @hoboronin3 жыл бұрын

    I will be in touch your.. your videos are very informative

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Sounds good - thanks!

  • @taylorborders351
    @taylorborders3514 жыл бұрын

    I'm having trouble using lookups when I have multiple tables linked on my base. The table I want to lookup from isn't coming up as an option. The two are linked however. What could I be doing wrong?! Help!!

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    Are the tables linked directly, or are they inferred? If you have tables A, B & C... Table A can link to Table B - then Table B can link to Table C. With this relationship, there's a relationship inferred from A to C. Table A links to Table C THROUGH Table B - however, you can't use a lookup under this condition. The link must be direct (you can lookup A from B, or B from A, or B from C, or C from B). Hope this helps!

  • @evanjoyal9540
    @evanjoyal95403 жыл бұрын

    Is it possible to do a lookupfield and filter by a view of the other table, or filter by a select option? for example, Project A contains 2 members, 1 with membership A and 1 with membership B. Can I create a lookup so that I can get membership A info and memberhsip B info only? for automation purposes.

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Not in the native software, but you can build an advanced form with dependencies using a plug-in/widget. Check this out for some tips: kzread.info/dash/bejne/lJOrpNWFlL2teZc.html

  • @user-pu5nf4tl4q
    @user-pu5nf4tl4q Жыл бұрын

    How do we fix a lookup not showing the values we need?

  • @mohsenuss91
    @mohsenuss913 жыл бұрын

    I would like to know if it possible to search in all fields of a table while looking for a linked record (in another table)?

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    when you start typing for a record to link to, the only thing that will be available to search from is the primary field of the records you are connecting to.

  • @sarangapani7830
    @sarangapani78303 жыл бұрын

    Hi, thank you very much for your video. I have multiple dates from the tasks table, in the main project table. In project table I need the earliest and latest date of the particular type of task. Please hep to write this code

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Hi! To bring back the earliest date from a linked record, use a rollup field along with the MIN function. Similarly, to get the latest date, use a rollup field with a MAX!

  • @Max-ip7ix
    @Max-ip7ix3 жыл бұрын

    I have two tables are directly linked. “Look up” is not an option to choose from when creating a new field. I’m on iOS. Is this a pc only feature? Not sure what I’m doing wrong

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Yes, this is a browser only feature - unavailable on the mobile apps. That said, if you build it in your browser, you can then see that data from your mobile app.

  • @timmycorini
    @timmycorini5 жыл бұрын

    Gareth, I just booked a consult call with you. It's 2 weeks out however. Any way to hire you directly, before the free call? I need help asap. Thanks!

  • @tommycoe2333

    @tommycoe2333

    5 жыл бұрын

    He endorses people that do that on his site. Also you can post the question here and he may answer or someone else might know the answer

  • @softwretesting
    @softwretesting4 жыл бұрын

    hello sir, I am new at kodular, My question is how to find Automatically Row number, I have student db but i every time not look up in table and write Manually row number into code section. so what is the solution of that…? please help me i am very confuse in Index in list thing its find air table row number…? If yes then how we can find Air Table row number…? I am waiting for Your Response…? I NEED HELP PLEASE HELP ME…

  • @GarethPronovost

    @GarethPronovost

    4 жыл бұрын

    Row numbers aren't a thing in Airtable the way they are in a spreadsheet. This is because the row number isn't consistent - it changes from view to view. The closest thing you could do is use the 'autonumber' field type to fill out a new number every time you create a record.

  • @AmyMorosini
    @AmyMorosini3 жыл бұрын

    What's the formula you used to create the full name primary field? I’m truly a beginner.

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Most likely a concatenate field to combine multiple pieces of info. This is something that I address on our weekly webinar, if you'd like to sign up it's a free event I hold every week: www.garethpronovost.com/webinar-registration

  • @jnschaub1
    @jnschaub13 жыл бұрын

    Can a Rollup field be used with qualitative data? Or just with quantitative?

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    Qualitative is possible too, in the form of arrays (unique array, for example)

  • @thugg4lif
    @thugg4lif3 жыл бұрын

    Can I lookup across multiple tables? Currently it only lets you choose 1.

  • @GarethPronovost

    @GarethPronovost

    3 жыл бұрын

    You can only lookup to one table per lookup field.

  • @dangelneira
    @dangelneira Жыл бұрын

    Hi Gareth, how can I extract the email domain in the email field?

  • @GarethPronovost

    @GarethPronovost

    Жыл бұрын

    I'm not sure what you mean, the email lookup will already extract this data

  • @vickyk72
    @vickyk722 жыл бұрын

    How to do sumifs() in airtable???

  • @GarethPronovost

    @GarethPronovost

    2 жыл бұрын

    They are not quite the same as Excel. Instead you'll use a ROLLUP field type, aggregate with a SUM(values) formula, and set conditions to only count the records you want to include! 💪

Келесі