Hi, My Airtable use case is to maintain Farmer’s finances. We have developed a WhatsApp bot, and by using webhook triggers the information gets stored in Airtable.
I have a query regarding calculations.
This is my current data structure.
Since we cannot create columns dynamically in Airtable using Automations, I am generating dynamic rows for each expense type for each crop.
Now in the Current Crop Expense column, I want to calculate the sum of all the Expense Amount for the current crop for that particular user.
For eg: For user John CROP B, the total in the Current Crop Expense column will be (200+60+70) = 330 and stored in the corresponding row to the crop name. It can be stored correspondingly to all 3 crop B rows or just one. But I need the calculated value to send back to the users.
For Crop A for the same user, the value stored in Current Crop Expense will be 170, and so on.
For User 2 - the total Current Crop Expense for Crop A will be 7, Crop B = 410 (240+170)
I want to perform this above operation for different users and calculate their total Current Crop Expense based on the sum of Expense Amount for each crop
So how do I achieve this? I tried lookup and roll-ups but here I am. is this possible in Airtable?
Any help or advice is appreciated