Forum Discussion
Row Level encryption allow admin to see all
- 3 years ago
Thanks.
I have found the solution I needed here.
Dynamic Row Level Security with Manager Level Access in Power BI - RADACAD
kezza04 , if user is workspace admin, the RLS do not apply. make the person workspace admin
or have code like
Switch( True(), [email] ="[email protected]" , true(),
[Email] = USERPRINCIPALNAME(), true(), false())
- kezza043 years agoFrequent Visitor
Thanks. this is not yet a cloud report so first idea won't work.
I tried the switch statement exactly but that is not working either with no data showing for the admin user.
- kezza043 years agoFrequent Visitor
The way I need it to work is if admin don't apply filter, else apply filter. With the code you provided it seems to me the filter will always be applied?
- kezza043 years agoFrequent Visitor
Thanks.
I have found the solution I needed here.
Dynamic Row Level Security with Manager Level Access in Power BI - RADACAD