Am I really that stupid?

So I’m kinda new to Airtable. At least the complicated stuff and I’ve already come across a problem.
I just want to create a simple weekly look into my chatter’s earnings. But I have some problems with rollups. Yes, I know you can edit the view to make groups but that’s not my mission, I want to sum all of each chatter’s earnings of the week and show it its own record because I want to make it visible to my chatters and not get confused. It’s gonna be like a scoreboard for them so they are a bit competitive.

This is what I have done so far: (I’ve used chat gpt but its outdated last update on Airtable it has is in 2021)

So the first thing I did is made a form so my chatters can submit their earnings. The table looks like this: They add their earnings, date and they choose them by who submitted it (that’s linked to another table)
Screenshot_73

So the second table was supposed to be each record for one chatter: they fill it out in the form already so it puts all of they earning in the linked table row.

And the third table was supposed be to rollup or summ all of their earnings of the current week:

To be honest I am really frustrated beacuise I tryed a lot of things. I just dont get it how can I sum or rollup every chatters earnings from this week so I dont have to do it manually each week and to show each chatter in its own record bbut not multiple record for the same chatter. I had some problems with seting that it sums only this week beacuise they changed the sistem so much since 2021 now its WekNum? or something like that.

I would add more pictures but I can only add one

Thanks

If you want weekly earnings, I recommend having a [Chatter-Weeks] table, where there is a record for each combination of chatter and week. Each {Amount Earned} record should be linked to the corresponding [Chatter-Week] (This can be done with an automation.) Then the [Chatter-Weeks] table has a rollup of the total sum.

1 Like

Aha ok got it and I researched some more and maybe found another solution
So I’ve put a formula in the chatters daily earnings section: IF(WEEKNUM(NOW()) = WEEKNUM(date), 1, 0)

And that calculates if it’s this week it puts 1 if it’s not then 0.

So based on that, I’ve done a rollup in another table that only calculates the ones with 1

Is that a good solution? And I still don’t know if it automatically puts all of the records that were previously 1 to 0 when it’s another week.

Thanks

Here is some food for thought

  • What happens next year? You will have two weeks with the same week number but in different years.

  • The function NOW() is a resource hog. It may not seem like it when your base is small. But as your base grows, you may wish you had done things differently.

  • Checking for the current week will only give you stats for the current week. Later you may wish to have stats for previous weeks. Easier to build that in the system from the start than to go back and add that feature in.

And to answer the question in this topic title. No, you are not stupid. You are just trying to figure out something new.

3 Likes

Aha ok got it so there’s no way to do it that way?

With the tactic you suggested will I have to manually set it every week? Or can I use a formula? I am interested how the table might look like do you maybe have any examples.

Thank you again it helps a lot

Your formula to checking if a record is in the current week will work for identifying records in the current week. You can then rollup data for records only in the current week. However, there are other ramifications of your system. That is why I listed it as “food for thought” versus “don’t do that”.

I don’t have a system with a [Chatter-Week] table that I can share. You would not need to manually set it every week if you have automations that can create and link new records. You would a formula field for each data record that identifies the week (taking into account the year). Then the automation can search for an existing record in the [Chatter-Week] table. If there is one, link the data record to it. If one doesn’t exist yet, then create a new one and link it.

1 Like

Ok thanks I will try it