Help

Re: Collecting and calculating weekly sums in another table + Zaps

715 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Kristen_Simenta
4 - Data Explorer
4 - Data Explorer

Hi all - I have a Zap set up that sends info to Airtable from Submittable. It adds a “1” every time a reader adds a note in Submittable. This way, I can keep track of what everyone is reading every week.

I’m trying to collect the running data somehow so that I can look at the information over time, week to week. So, for example: I need to know what Daniel has read every week and over time. It would be great to have another table where I can see (week to week) what the numbers are so I can fill out my reports.

Does any of this make sense? I’ve been playing with rollups, but I’m not getting it. Thanks for any help you can give.

3 Replies 3

Hey @Kristen_Simental

You have the right idea. You need to create a ‘Reports’ table, then link every record you want included from your other table to a single ‘Report’ record. So you could call the record the ‘Daniel’ record and then link all his info. Then use a Single-select to for your Week 1, Week 2, Week 3, etc. or a Date field so you can do it for each student.

Then, you create your Rollup field. So your Rollup field would link to your other table (Students, I’m guessing), then link to the field you want to count. In the Aggregation formula, I sometimes use SUM(values) to calculate totals or you could use COUNT. Other times, I use ARRAYUNIQUE to view unique records.

It would probably help to see a screenshot of what it is you’re capturing and better what exactly you’re doing. You say it adds a 1 for a note, but I’m not sure what that means. Is it a new record in a table, so you have a table full of “1” records?

______________________________________
Hannah - On2Air.com - Automated Backups for Airtable

Thanks Hannah. Here’s a screenshot:
Screen Shot 2022-01-24 at 8.35.21 AM

Ok gotcha, @Kristen_Simental.

Here’s my first answer:

I would create a ‘Reports’ table. Then create a linked record to the ‘Reader Counts’ table. Create a Rollup field and label it Count, choose the ‘Readers Counts’ table and then choose the ‘Read Count’ field. For your Aggregation formula, use SUM(values).

(I just happened to have a Rescue Operations example base, so in my example, Animals are your Students. lol sorry)

2022-01-24_16h55_16

2022-01-24_16h55_56

For the Reports table Primary field, you could use a Text field as the Primary and label it Jan 17- 21, 2021 or Week 2. You could also use a Date field.

Now, in the Report table, each record will be per 1 Student. So, you label it Week 2, and then in the Linked record field, link all of a single student’s record for that week. Your total Read Counts will be Summed in the Count field.

2022-01-24_17h00_03



Here’s my 2nd thought:

You might consider making the Students as one table and the Reader Counts another table. When doing Reports, having multiple tables and creating linked records helps.

In the Reader Counts table, you could use a Formula field that combines the Student and a Week as the Primary field, a linked record to the Student, and then your Read Count field.

2022-01-24_17h25_39

In your Reports table, you would then have a linked record to the Reader Counts table with the Rollup field.

2022-01-24_17h34_10

This is what your Students table would look like

2022-01-24_17h28_09

Why this is another option I suggested:

What’ll you find is that it might be difficult to match up the fields in your reports because there are no unique values and you’re creating duplicates (ie Student’s names). When you use multiple tables with linked records, and Formulas with the CONCATENATE option, you can bring multiple field values together and find data easier.

An example of how else this works would be an Inventory base where you have multiple items and individual sales orders where you bring everything together in an order.

______________________________________
Hannah - On2Air.com - Automated Backups for Airtable