Forum Discussion

wasonj1's avatar
wasonj1
Frequent Visitor
5 years ago
Solved

How to filter table based on logged in user?

Hello, I am working on a report with two tables, Incidents and Users. I am trying to filter the incidents table to only show incidents that are of the same department as the user logged in. The incid...
  • lbendlin's avatar
    5 years ago

    Your reference table needs to contain the email address and the department. Set the RLS on USERPRINCIPALNAME().  The department then needs to control the tables that are downstream in the data model.