One table, different views?
Coda is very powerful to sort data, group them and so on. But why would you only use it a static way when you can make it dynamic ! This is very easy to see your day move, and change the point of view according to your needs . Let’s have a little example with my favourite disney movie, shall we !
Let’s meet our little team, that has to deal with different projects and tasks. Let’s imagine you have some project like thoses beside. A classic table will look like this one :
As you know, you can use “group” option to simply group thoses task for example by project, that would render something like that :
Make it Dynamic !
This is great, but very static. Knowing myself, I know that I would love to quickly change this to group by “People”, in order to see tasks for each guy in the team. Rather than going to options, and manually change it, a quicker way to proceed is to create a new column called “GroupBy” for example, that would change according to a select control like this one : ➡️ ⬅️, called here “group_lionsking”. Then, fill this new colum with a formula using function to detect what you want. It works quite easily : switchif(X=A, value for A, X=B, value for B, X=C, value for C, ...)
Applied to our example with people, project, month and even image :
SwitchIf(group_lionsking="People",thisRow.People,group_lionsking="Project",thisRow.Project,group_lionsking="Month",thisRow.Month,group_lionsking="Image",thisRow.Image)
And then, just group your table using “GroupBy” Column, and play with the control above 👍
This is our table grouped by
Group, but not only !
This works also with sort option. Even More Powerful : With CHARTS ! Let’s Consider a bar chart, with horizontal axis with “GroupBy” Column, that displays tasks count. If you play with the select control, it will dynamically move as well !
Hope you enjoy this little trick ! Please visit to leave any comment, suggestion, or see my twitter feed !