I am using Stacker and AirTable for a simple app. It shows a list of orders that users enter. I want to show summary data, but here are the problems:
if I share the base, everyone will see all email addresses for all users (for shared bases, you can’t hide fields as public users can toggle your hidden fields)
if I share the view of a table, it doesn’t show the blocks that display the summary data I want to show
Stacker doesn’t have the ability to summarize data (IE: average, min/max etc)
I thought about having a ‘stats’ table but I’d have to link every order record to each field somehow, and then I could pull that data into Stacker.
Instead of sharing an entire base with your users, you need to use Stacker’s built-in ability to decide which records different people are allowed to see. That’s one of the key advantages of using Stacker, and that is why many people start using Stacker.
Stacker doesn’t natively support Airtable blocks, but it does support embedding websites, so you could embed blocks into your Stacker app (if you get on the Airtable beta program for embedding blocks). HOWEVER, the big Airtable security hole here is that when you share a block, your users have access to all the data in all of your tables.
Stacker supports Airtable’s formula fields, rollup fields, and lookup fields, so create those summaries in Airtable first, and then Stacker can show them to you. I’m not sure if Stacker supports the features of the “summary bar” in Stacker, but you could ask them. They might.have this ability natively built into Stacker.
Because your questions are very Stacker-specific, I would recommend reaching out to them about the features of their product, and how to use it most effectively. They have very good support.
I ended up making a new table with the raw data and giving users instructions to filter it to do what my blocks do. Not slick, but good enough.
One thing I’ve always wondered, how do you automatically populate a summary table using rollup fields? When I create it, link the records and set the rollup field to count(), is there a way to automatically have it count all the records? Example:
table 1 has 20 records
table 2 is a summary table that’ll show a count of those records that I can use for display elsewhere (via Wordpress plugin etc)
I create the linked field and the rollup field in table 2 but then I have to manually link all the records from table 1. Is there an easy way to add all?
While you could link all of the records manually as @ScottWorld suggested, you could also use the new scripted action beta feature to make the link for you whenever a new record is created in your first table. One of its triggers is making a new record, which could then be used to create a link to your summary table. More info on that beta feature can be seen here, including a link to a signup form to request access during the beta phase.
cool, I will check that out. For now, I accomplish what I need with Zapier. When a new record is added in any of my 4 main tables, Zapier updates my ‘stats’ table (1 record, multiple columns for various stats) and then Stacker can pull in the summary data.