Hello…
I believe what I’m trying to accomplish is a composite key between a STATUS table that also references TABLENAME of the child table. Ultimately my goal is to have different statuses that have the same “Name” but are used for different tables. In my STATUS table I have many different values that require a specific “Context”. The Context property is a reference to the TABLENAME of the table that wants to use the status.
Here is an visual example of what I’m talking about.
|
|
|
As you can see, I have “ACTIVE” listed as available choices for the OPERATORS table and the MACHINES table. When I create or edit an OPERATOR, I only want to see statuses that are applicable for that Context.
Is this possible?
Solved! Go to Solution.
All rows from the STATUS table that have a Context column value of OPERATOR
:
FILTER(
"STATUS",
("OPERATOR" = [Context])
)
All rows from the STATUS table that have a Context column value equal to the current view name:
FILTER(
"STATUS",
(CONTEXT("View") = [Context])
)
All rows from the STATUS table that have a Context column value occurs at the start of the current view’s name:
FILTER(
"STATUS",
STARTSWITH(CONTEXT("View"), [Context]))
)
See also:
User | Count |
---|---|
31 | |
11 | |
3 | |
2 | |
2 |