Action hide button

hello to all
I created an action button that adds a row of data to another table.
I would like to hide the button once pressed but if I go Only if this condition is true ๐Ÿ˜ฎ how to set the formula because the value โ€œcleaningโ€ is not in any column.
in addition to the โ€œcleaningโ€ button, Iโ€™ve created three more.
with this form when I press โ€œcleaningโ€ also the other 3 actions are not shown.
I tried as recommended by [Aleksi] but not work NOT(IN([ID],TableName[ID]))

Solved Solved
0 2 501
1 ACCEPTED SOLUTION

Iโ€™m not sure what you mean by this. You are showing that you are updating a column with the value of โ€œCLEANINGโ€.

As Aleksi points out you can check for the existence of this row in that other table. Maybe you need to enhance it to look for the record where Service = โ€œCLEANINGโ€?

Try this:

NOT(
    IN([ID], SELECT(TableName[ID], [Service] = "CLEANING"))
   )

TableName is the name of that other table.

View solution in original post

2 REPLIES 2

Iโ€™m not sure what you mean by this. You are showing that you are updating a column with the value of โ€œCLEANINGโ€.

As Aleksi points out you can check for the existence of this row in that other table. Maybe you need to enhance it to look for the record where Service = โ€œCLEANINGโ€?

Try this:

NOT(
    IN([ID], SELECT(TableName[ID], [Service] = "CLEANING"))
   )

TableName is the name of that other table.

Perfect!!!
Thanks a lot!!

Top Labels in this Space