Forum Discussion
RLS not working
Hi amitchandak ,
Manager will see all the regions data but Non Manager will not see the Region "East" data and a person [email protected] has been assigned to the Non Manager data in the power bi service. So, when I try to check using Test as role with [email protected] , I am able to see the east data too.
Please find the below images:
kamalbandam - Would need to see your RLS rules and such. Have you been following something like this:
- kamalbandam5 years agoHelper III
Greg_Deckler I have been using static RLS not the dynamic
- Greg_Deckler5 years agoCommunity Champion
kamalbandam - Might want to rethink that. Generally if you are using USERPRINCIPAL name or email address to to the RLS, you want it to be dynamic.
- Anonymous5 years agoNot applicable
Hi kamalbandam,
Perhaps you can add a mapping table to set username and their roles(manage/non manage) and apply a filter on this field. You can take a look at the following link about RLS with username if helps.
If you still confused about coding formula, please provide some dummy data and expected results to help us clarify your structure and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaxoin Sheng