cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gdps
Helper IV
Helper IV

Best Practices RLS

Hello everyone,

 

I would like to ask your help to tell me what would be the best practice for creating an RLS for my report.

 

My situation:

 

I have a premium workspace with 60 people in Microsoft Teams, and I want to share a report with those 60 people. The report is about hours of work recorded in a sharepoint list.

 

However, I need to have 3 types of visualization:

  • Director View: can see all the information in the report. There are 4 directors.
  • Manager View: can see information about their team. There are 8 managers.
  • Resource View: can see only their own information. There are 48 resources.

Note: the manager needs to see his own information, in addition to their team information

 

I managed to create the RLS using an excel database with the following columns:

Resource NameResource E-MailManager NameManager E-Mail

 

But I found exhausting add 48 emails manually in the Security tab of the bi power service.

 

Is there a more practical way to do this? And to share this report, do I also need to manually add the 60 emails?

 

Best Regards,

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

Hi @Gdps 

 

I believe you can refer to the dynamical hierarchy RLS:

https://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi

https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple

 

do I also need to manually add the 60 emails?

No, when you manage them in the DAX formula, you can create a distribution list/Security group including their emails, and add the group directly in service.

 

Community Support Team _ Dina Ye
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

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @Gdps 

 

I believe you can refer to the dynamical hierarchy RLS:

https://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi

https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple

 

do I also need to manually add the 60 emails?

No, when you manage them in the DAX formula, you can create a distribution list/Security group including their emails, and add the group directly in service.

 

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

Hi there

You can use Active Directory Security Groups within the Security tab of the Power BI Service.

I do have a blog post which explains how to do this easily using Active Directory Security Groups
https://www.fourmoo.com/2018/02/20/dynamic-row-level-security-is-easy-with-active-directory-security...

Also you can create an App and put in the same AD Security Group under permissions which will grant them all permissions to the app




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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors