Forum Discussion
RLS issue
IHam , refer this code , This allowing one email to have all access, another email to in file having all values
[email] = userprincipalname() || userprincipalname() = "[email protected]" || userprincipalname() in summarize(filter('Brand Sec', 'Brand Sec'[Brand] = "All") , [email])
this is rls table data filter item table on brand
How to use Row Level Security (RLS): https://youtu.be/NfdIA0uS6Nk
- IHam3 years agoHelper III
Many thanks for your time on this - I think I understand. Will give it a go and let you know.
- IHam3 years agoHelper III
I have looked at the work around but I don't use dynamic email based on email addresses. I allocate staff into departments and then use the manage roles to filter the key table by department. When these are uploaded to the cloud, I then allocate the head of a department to have RLS access to the departments.
This is where the issue is as I allocate the senior member to all teams and it doesn't work.
I can allocate the senior member to all departments within power bi desktop but then their data is available to all and not just to the department that they belong to.
Hopefully thats clear!