How do I assign a value in one column by filling another column in another table?

How do I assign a value in one column by filling another column in another table?

0 7 594
7 REPLIES 7

Can you please elaborate?

Do these two tables have a parent / child relationship?

I have two tables. 1 and 2

Table 1 is a complete list of machine at a given location.

Table 2 is where I say if one of these machines had a problem.

The problem I want to appear in table 1

Itโ€™s possible ?

Create a virtual column in Table 1 called (e.g.) Problem with the app formula:

ANY(
  SELECT(
    Table 2[Problem],
    AND(
      ([Local] = [_THISROW].[Local]),
      ([Machine] = [_THISROW].[Machine])
    )
  )
)

Or if you use @MultiTech_Visionsโ€™ suggestion, instead use as the app formula:

ANY([Related Table 2s][Problem])

I see where youโ€™re going with that @Steve, I would actually nix the ANY() from that formula, and instead leave the column as a list of the related problems.

Create a reference in Table 2 to Table 1. This will create a list of related records from Table 2 inside Table 1.

This might help:

2X_6_695e34ff1fa187af28997aed04d29226023d598a.png

I guess this article might be of some value to you.

Top Labels in this Space