Forum Discussion
kamalbandam
5 years agoHelper III
RLS not working
Hi Everyone, I have created two roles as Manager and Non Manager where I have assigned some of the people to Manager and Non Manager. After I have assigned people to the Power BI service and tested ...
Greg_Deckler
5 years agoCommunity Champion
kamalbandam - Would need to see your RLS rules and such. Have you been following something like this:
kamalbandam
5 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