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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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