Help

Re: Conditional display of Linked records

3217 0
cancel
Showing results for 
Search instead for 
Did you mean: 
grayfo
5 - Automation Enthusiast
5 - Automation Enthusiast

Here is part of my Base, where I define a simple Link to another Table.

c6fff4861779f1c87b0c8c4e1d519e1dc95c3d97.png

However, I would also like to display only those linked names where a Checkbox has been set on the linked record.

How would I do that?

Graham

11 Replies 11
grayfo
5 - Automation Enthusiast
5 - Automation Enthusiast

While viewing Table A (below) I can produce an array of record names (from Table B) and a matching array of Checkbox values

image.png

Again, while viewing Table A, can I manipulate these arrays (using a formula) to produce a new, filtered array containing only those Table B record names where the Checkbox field is True?.

Kira_Lapin
5 - Automation Enthusiast
5 - Automation Enthusiast

Try it like this.

Table with names:
Снимок экрана 2017-02-24 в 17.25.11.png

Where NameifChek field is calculated like this:
Снимок экрана 2017-02-24 в 17.26.40.png

Here is a table associated with the names of:
Снимок экрана 2017-02-24 в 17.26.17.png

Where the field NameifCheckSum is calculated:
Снимок экрана 2017-02-24 в 17.26.30.png

grayfo
5 - Automation Enthusiast
5 - Automation Enthusiast

Thanks @Kira_Lapin for that very clear explanation.

This is very neat.

It took me a while to get everything in the right place, but now it works perfectly.

What is the checkbox for? I think you need and auxiliary Table.

grayfo
5 - Automation Enthusiast
5 - Automation Enthusiast

The database is about the activity of change ringing. It helps me to run a complex practice session for an ever-changing team of ringers, of mixed ability.

There are many interdependent activities we might attempt at a practice, each requiring a particular mix of (performance and/or support) skills. The final choice of activities for that practice session depends on which ringers have attended the practice, what individual skills they have (at what level) and what their individual learning and development priorities are.

@Elias_Gomez_Sainz: You asked about the checkbox - it simply signifies which ringers have attended the practice. How would you use an auxilliary table in this context?

Kira_Lapin
5 - Automation Enthusiast
5 - Automation Enthusiast

I think you can add the type of event. To automatically putting flags.

Why do you does not have a Sessions table? In every Session you could add the Ringers that have attended and with Lookup fields you can retrieve the Skills or the Methods to practice.

If I understand well, now, in every Session you change the checkbox for the attendance on the Ringers table? Or where do you mark that? I’m a little lost :thinking:

grayfo
5 - Automation Enthusiast
5 - Automation Enthusiast

I don’t need a separate table for each session, as I currently don’t take a historical (or future-planning) view - I just run the database at each session, marking the Checkbox accordingly. However, I might use a separate table in the future, so thanks for the suggestion.

I distinguish between Capabilites (a simple link between Methods and Ringers) and Learning Priorities (a link between the same tables, but via a Junction (‘relator’) table). The latter has data about what stage each ringer has reached in their learning. I could do the whole job using the Junction table, but this is my first attempt with Airtable, and I think there are many opportunities for redesign (like your suggestion above) as the database becomes more ambitious in its scope!

I appreciate your ideas, as I’m new to this product. Thanks.

I think you can get rid of the empty values by using ARRAYCOMPACT(values)