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
bcap01
Helper II
Helper II

RLS for multiple Department Leaders

Hello,

 

I want to display data on my BI Report based on Department Head so that they can see their subsequent Staff only.  Currently, I have created multiple, individual Role for each Department as follows.

 

Finance Role

[email] = “johndoe@test.com” || [DeptID] = 13

 

IT Role

[email] = ‘janendoe@test.com” || [DeptID] = 1

 

Marketing Role

[email] = “joedoe@test.com” || [DeptID] = 3

 

Is there a more efficient or better way of doing this?  Is it better to have 1 Group that can handle all different scenarios?  (If yes, how?)  Or does it need to be done individually as described above?

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

Hi @bcap01 ,

You can refer the following links to apply RLS for your tables base on your scenario:

What Do You Need to Implement Dynamic Row-Level Security in Power BI?

Dynamic Row Level Security with Manager Level Access in Power BI

yingyinr_0-1671789582930.png

RLS based on user's department - of which they can have multiple

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yiruan-msft
Community Support
Community Support

Hi  @bcap01 ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

Hi @bcap01 ,

You can refer the following links to apply RLS for your tables base on your scenario:

What Do You Need to Implement Dynamic Row-Level Security in Power BI?

Dynamic Row Level Security with Manager Level Access in Power BI

yingyinr_0-1671789582930.png

RLS based on user's department - of which they can have multiple

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
bcap01
Helper II
Helper II

@Syndicate_Admin Thank you for your reply!  

 

How do I call Azure using PowerBI?  For example, I have tried [Department] = "IT" but I get the message, "Column 'Department' cannot be found or may not be used in this expression."  

 

Is there some DAX syntax I need to consider?

Syndicate_Admin
Administrator
Administrator

Hello, Claro in Azure groups you can easily group and update the permissions of each person

https://powerbi.microsoft.com/fr-ch/blog/azure-active-directory-and-power-bi/

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.