Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ashishpbi
Frequent Visitor

RLS with Multiple roles to single user - See Report data as per role

Hello,

 

Scenario:

I am implementing security (RLS) where one user belongs to multiple Roles (i.e., Office-1 and Level-1). Therefore, if the user see the report -1 (for Office-1) , the data for Office1 should be visible and if the user see report-2 (for Level-1) the data for Level-1 with all offices including Office-1 should be visible. No data duplicity or combined data should be visible on both reports.

 

Query:

How can i switch between roles in the Report ? For example the user can select the role from a dropdown field and accordingly the role should be visible to the user. Kindly share how can this be implemented or if Roles can be configured in realtime while accessing the reports.

 

Can someone guide or share some approaches ?

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @ashishpbi - Create two different reports: One for Office-1 with RLS for Office-1 and another for Level-1 with RLS for all offices.Assign the user to multiple roles via Power BI security settings, and the role will automatically apply depending on which report they are accessing.This ensures no data duplication or overlap in the RLS implementation while keeping access controlled.

 

reference links:

Dynamic Row Level Security in Power BI with Organizational Hierarchy and Multiple Positions in Many-...

 

solved thread:

Solved: Dynamic RLS with 2 different roles - Microsoft Fabric Community

Hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
ashishpbi
Frequent Visitor

Is there a way to manage such scenario of multple roles assigned to a single user.

 

Are there any options in case the reports are accessed using Live Connection mode ?

rajendraongole1
Super User
Super User

Hi @ashishpbi - Create two different reports: One for Office-1 with RLS for Office-1 and another for Level-1 with RLS for all offices.Assign the user to multiple roles via Power BI security settings, and the role will automatically apply depending on which report they are accessing.This ensures no data duplication or overlap in the RLS implementation while keeping access controlled.

 

reference links:

Dynamic Row Level Security in Power BI with Organizational Hierarchy and Multiple Positions in Many-...

 

solved thread:

Solved: Dynamic RLS with 2 different roles - Microsoft Fabric Community

Hope this helps.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





This only works for reports created independently. The solution do not work in the normal cases where the reports are connected to single Model or through Live connection (Azure Analysis Services).

 

The query is to display the data differently to the same user, as per the different Role configured in the Model.

Or, how can a user switch between 2 roles within the same report ?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors