Bind a column's value to a record

I have two tables: โ€œtable 1โ€ and โ€œtable trouble logโ€.

Table 1 shows all the machines I have in my stock

In the Trouble log table, Iโ€™ll tell you whether itโ€™s in trouble or not.

What I want ?

I want the problem column (in table 1) to be filled with value yes โ€‹โ€‹if status from table trouble is set to active and when its set to disabled, the value does change to no.

veja o template do que eu quero

0 5 462
5 REPLIES 5

Steve
Platinum 4
Platinum 4

The simple approach would be to add a virtual column to Table 1 that looks up the machineโ€™s status in the trouble log and displays the desired message accordingly.

@Steve,

I got what I wanted, create this chart.
I created the virtual column and used the formula:

lookup ([_ thisrow]. [machine], view, machine, availability)

It looks like this:

but how do I make it available [blank] and โ€œDisponivelโ€ in one only as โ€œDisponivelโ€?

itโ€™s possible ?

Just make them the same colour ?

Or make all blanks available. What you are saying is regardless of whether it is blank or available it must be available?

Need to see the columns in question.

Hi @Gregory_Diana

the solution I found:

I put an IF() in the formula

Thank you so much for helping my friend.

2X_c_c4e86d46d1fb7386204b1048b170063d5945c592.png

Top Labels in this Space