# Quick "View" Function?

**URL:** <https://connect.superhuman.com/t/quick-view-function/2517>\
**Category:** Ask the Community\
**Created:** [September 12, 2018, 9:44pm UTC](https://connect.superhuman.com/t/quick-view-function/2517 "2018-09-12T21:44:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benn\_Bennett](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/benn_bennett/32/7017_2.png) [@Benn\_Bennett](https://connect.superhuman.com/u/Benn_Bennett)\
**Post date:** [September 12, 2018, 9:44pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/1 "2018-09-12T21:44:05Z")

</div>

Hello,

This may be obvious to some of you, but I can’t work my head around how to do something like this. I’m trying to use a button (or something) to create a quick “view” of my table. Here’s an example of what I mean.

My example table contains the following column headers: person, city. Here’s some sample data:

Bill | New York  
Rob | Chicago  
Bill | Chicago  
Jon | San Francisco

I want to have 3 buttons (or links, etc.): New York, Chicago, San Francisco. When you press the “New York” button it only shows the first row. When you press the “Chicago” button, it only shows rows 2 and 3, etc.

Does that function exist? I saw something similar in a todo sample page but it was a slider and needed a numerical value and aggregated (e.g. 1, 1-2, 1-3, etc.), but I was hoping to not have to number each city, and also need to “filter out” the ones that don’t match exactly.

Thanks!!

---

<div class="post-metadata">

**Author:** ![mallika](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/mallika/32/12981_2.png) [@mallika](https://connect.superhuman.com/u/mallika)\
**Post date:** [September 12, 2018, 10:04pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/2 "2018-09-12T22:04:27Z")

</div>

Hi @Benn_Bennett - have your looked at the select or the multiselect control? I can help you more with setup and how to use it if that works for you - [https://coda.io/learn/essentials/Controls](https://coda.io/learn/essentials/Controls)

---

<div class="post-metadata">

**Author:** ![Benn\_Bennett](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/benn_bennett/32/7017_2.png) [@Benn\_Bennett](https://connect.superhuman.com/u/Benn_Bennett)\
**Post date:** [September 12, 2018, 10:18pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/3 "2018-09-12T22:18:21Z")

</div>

That was a perfect solution! Thanks! I had a bit of trouble because my column was set to lookup from another table, but when I reformatted it to "select from list’ that did the trick. Is there a way to turn off the filter, or “show all”?

---

<div class="post-metadata">

**Author:** ![tomavatars](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/tomavatars/32/6130_2.png) [@tomavatars](https://connect.superhuman.com/u/tomavatars)\
**Post date:** [September 13, 2018, 7:18am UTC](https://connect.superhuman.com/t/quick-view-function/2517/4 "2018-09-13T07:18:46Z")

</div>

To turn off filters I use a checkbox control beside the select one.  
In the filter of your table add the formula : if(checkbox, yourcolum.matches(selectbox), thistable)  
Very useful!

---

<div class="post-metadata">

**Author:** ![Benn\_Bennett](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/benn_bennett/32/7017_2.png) [@Benn\_Bennett](https://connect.superhuman.com/u/Benn_Bennett)\
**Post date:** [September 13, 2018, 3:41pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/5 "2018-09-13T15:41:43Z")

</div>

Sorry if this is a basic question, but how do I add a formula for a “checkbox” control in the table if I’ve already got one there for the “select” control? I don’t see an option to add a second formula like I can with conditional formatting.

---

<div class="post-metadata">

**Author:** ![tomavatars](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/tomavatars/32/6130_2.png) [@tomavatars](https://connect.superhuman.com/u/tomavatars)\
**Post date:** [September 13, 2018, 4:21pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/6 "2018-09-13T16:21:15Z")

</div>

No problem. The secret is in the formula itself :  
If(CheckboxControl, YourColumn.Matches(YourSelectControl), This table)  
Your Select control is the reference to the second control. You can add as many reference to controls like this, SwitchIf can also be useful if you want to switch between many controls.

---

<div class="post-metadata">

**Author:** ![Benn\_Bennett](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/benn_bennett/32/7017_2.png) [@Benn\_Bennett](https://connect.superhuman.com/u/Benn_Bennett)\
**Post date:** [November 28, 2018, 7:34pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/7 "2018-11-28T19:34:15Z")

</div>

Sorry, I reformatted my doc and broke my control! I have two problems:

1. the list is formatted as “Lastname, Firstname”. When I put the options in the control like that they come out as two options (due to the comma I presume). Should I wrap the names around quotations?
2. the reference column is formatted as “Lookup from Table”. Could this be breaking it? If so, any way around it?

Thanks!

---

<div class="post-metadata">

**Author:** ![mallika](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/mallika/32/12981_2.png) [@mallika](https://connect.superhuman.com/u/mallika)\
**Post date:** [November 28, 2018, 11:29pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/8 "2018-11-28T23:29:29Z")

</div>

Hi @Benn_Bennett - can you share the doc with me and I’ll take a peek?

But first could you try changing the control to be formulaic and point table to the same the ref. column and see if that works.

---

<div class="post-metadata">

**Author:** ![mallika](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/mallika/32/12981_2.png) [@mallika](https://connect.superhuman.com/u/mallika)\
**Post date:** [November 29, 2018, 5:24pm UTC](https://connect.superhuman.com/t/quick-view-function/2517/9 "2018-11-29T17:24:53Z")

</div>

Looks like changing the control value to be a formula worked for you!
