I’m trying to set up a security filter that shows all the rows to our employees, but only shows the rows to employees of other companies, if it has their name in the row.
It works for all the accounts in the User_DB that have “Selmoni Infranet” in the “Firma” column. But the second “OR” expression doesn’t give me any results, altough I do have matching company names in the Filtered table, and in the User_DB table.
Expression ‘LOOKUP(USEREMAIL(),User_DB,eMail,Firma)=[Auftraggeber] => IN(LOOKUP(USEREMAIL(),User_DB,eMail,Firma), Objekte[Auftraggeber])’ was unable to be parsed: The given key was not present in the dictionary..
Yes they are. The table i apply the security filter to is called “Objekte”.
I have a column in this “Objekte” table that specifies the “Company”.
Then I have the “User_DB” which contains an E-Mail and the Company the user belongs to. So each user should only see their “Objekte” entries from their Company, except from our employees. They should see every entry.
@TeeSee1 & @Steve Thank you both for your solutions. I tried both solutions, and none of them didn’t work. I then went into the Enum List in my “User_DB” in AppSheet and realized that I changed some [Company] Names in the Google Sheet, but not in the Enum List. After correcting the Enum List in AppSheet, the formulas started to work. Now, both of your formulas work.