Forum Discussion

rmarian's avatar
rmarian
Frequent Visitor
5 years ago
Solved

Row level security - column value starts with value from logged in user

Hello, I am trying to set up row-level security on a table that contains unique list of all employees. Available columns: Employee email address RBS (resource breakdown structure) - shows the emp...
  • rmarian's avatar
    5 years ago

    Thank you for your suggestions. While they might work, I was not able to easily implement them.

     

    What I did instead was set the RLS to filter all employees where the RBS contains the RBS of the logged in user, and then exclude the logged in user.

    IF(Employees[Employee Email]=userprincipalname(),False,CONTAINSSTRING(Employees[RBS],LOOKUPVALUE(Employees[RBS],Employees[Employee Email],userprincipalname())))