Sitemap
add rows via a canvas button

Member-only story

Add rows using a canvas button

Pressing a button to link data from two tables

7 min readFeb 7, 2025

--

You’ve probably run into situations where you needed to create a new table with only a portion of the data from a larger table. This blog post explains how to accomplish this using a powerful pattern.

In my previous blog post about modifying rows using a canvas button, I highlighted the importance of the ForEach function. Here's a relevant excerpt:

Within the ForEach() function, each item from the list is renamed as CurrentValue. This might seem a bit perplexing initially, but once you grasp that ForEach() meticulously processes each item and executes a specific action on it, the purpose becomes clear. It's a concise way of expressing exactly that functionality.

I also detailed where the results were stored.

The filter generates a list of objects (items), which are then used as a starting point. Each item is associated with a specific column and we define the value to be placed in the corresponding cell of that row.

We’re developing a function to create email lists based on subsets of a main list. This involves two tables: the main table and a new table that will store the filtered results. Our example filters by region, a key consideration in Belgium due to its linguistic diversity. The…

--

--

Christiaan Huizer
Christiaan Huizer

Written by Christiaan Huizer

Until March 2025 I wrote once a week about how to Coda . You find blogs for beginners and experienced makers. Welcome!

No responses yet