Forum Discussion
Anonymous
4 years agoNot applicable
Applying Row level Security to report
I have two tables and has relationship shown below How can I apply RLS so at to filter through UserEmail or user when user log in and by seeing only the VendorName reports? I have tried to cr...
- 4 years ago
Anonymous
Your filter on the ItemTable would be something like this.
ItemTable[VendorName] = LOOKUPVALUE ( Vendor[VendorName], Vendor[VendorName], ItemTable[VendorName], Vendor[UserName], USERNAME() )I have attached a sample file for you to look at. You can see the tables are not joined and you can test the role using
Modeling > View As
jdbuchanan71
Super User
4 years agoAnonymous
Your filter on the ItemTable would be something like this.
ItemTable[VendorName] =
LOOKUPVALUE (
Vendor[VendorName],
Vendor[VendorName], ItemTable[VendorName],
Vendor[UserName], USERNAME()
)
I have attached a sample file for you to look at. You can see the tables are not joined and you can test the role using
Modeling > View As