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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ap
Advocate I
Advocate I

Multiple Roles RLS? Can I have one user have multiple roles that are cross filtered but independant

Example, is it possible to have a sales manager

I have a mapping table that shows me region and type of sales. Fake scenario here.

This is fine when I am applying roles to regional managers (US, Canada) and a sales manager (Toys and Books). So one for Toys, one for Books etc.

 

But I have an issue where I havve a manager that is responsible for US region and also sales Toys.

 

I have one user who is a dual role, Canada Manager, and a Books Manager.

 

So when he logs in, he wants to be able to switch between seeing

1. Canada Manager (all of Canada and sales of Toys and Books)

2. Toys Manager (US and Canada and only toy sales)

 

Is this possible in RLS and how would I acheive it? I have tried applying him as Canada and Toys and all that does is apply a filter to only Canada Toys.

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi ap,

 

So your requirement is two create a manager role which can see either contents which are belong to Canada Manager or contents which are belong to Books Manager, right? You should multiple columns(e.g.: [Common Manager], [Grand Manager]). For more info or details, refer to this blog: Dynamic Row Level Security with Organizational Hierarchy Power BI.

 

Hope it's helpful to you.

 

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi ap,

 

So your requirement is two create a manager role which can see either contents which are belong to Canada Manager or contents which are belong to Books Manager, right? You should multiple columns(e.g.: [Common Manager], [Grand Manager]). For more info or details, refer to this blog: Dynamic Row Level Security with Organizational Hierarchy Power BI.

 

Hope it's helpful to you.

 

Jimmy Tao

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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