Hi Airtable friends,
I'm new to Airtable and really loving it. But currently stuck on something that seems simple. I'm looking for a way to automate my sales summary by country without having to predefine the countries in my Airtable base.
I have a sales order table with detailed information, including the quantity of products sold and the country they were shipped to. I need to create a separate table that dynamically summarizes the total sales by country.
Challenge:
- The "Total Sales by Country" table should update automatically as new sales data comes in.
- I cannot predetermine the countries since new orders may come from previously unlisted countries.
Current Setup:
- My orders table includes fields for order number, customer name, quantity purchased, shipping city, shipping country, and product.
- I have created an example of what the summary table should look like with hardcoded data, but I need this to be generated automatically.
Request:
- How can I set up a rollup or a summary table that automatically pulls in new countries as they appear in the sales data?
- What formulas or automations can I use to ensure that the "Total Sales by Country" table will reflect real-time data and include all countries from the sales order table?
I have attached screenshots of my current tables for reference.
Example product sales table:
Expected resulting table:
Btw, the grouping function that Airtable has is great, but doesn't give me the flexibility i want from the resulting totals. I'd like to sort the total sales to see which countries are selling the most/least.
Any advice or guidance on how to set this up would be hugely appreciated!
Thank you for your help!