Forum Discussion
Row Level Security question
- Anonymous5 years ago
hi Anonymous - the security in the role you are creating should be
[Salesperson Team] = "Authorized Resller" || [ [Salesperson Team] = "Business Development" - as in the user should have access to Authorized Reseller OR Business development; you had previously set it up as an AND condition.
Please mark the post as a solution and provide a 👍 if my comment helped with solving your issue. Thanks!
hi Anonymous - I would recommend a cleaner approach by creating a security table in your data model which will have the mapping the Sales Rep and the Branch or Revenue stream that they will have access to - then you can create a single security role which you can assign all Users to.
Ensure that this security table is setup as a bridge between your FACT and Location table - if you are applying RLS by location. Then as Sales Rep moves from one Branch to another you will only have to maintan the Security table rather than managing the users within each role.
You can refer to the link for more detailed steps on implementing the same:
https://key2consulting.com/how-to-setup-row-level-security-rls-in-microsoft-power-bi/
Please mark the post as a solution and provide a 👍 if my comment helped with solving your issue. Thanks!