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
Gaurav_Lakhotia
Helper III
Helper III

RLS Implementation in an Organization

Hello All,

 

I'm trying to implement RLS & here is the scenario,

The organization has multiple programs where different level of employees are working & managing it.

S. No.ProgramLevel 4 EmployeeLevel 3 EmployeeLevel 2 EmployeeLevel 1 Employee
1Program 1JamesAishwaryaKaranKamal
2Program 2BobAishwaryaKaranKamal
3Program 3VanessaAishwaryaKaranKamal
4Program 4HaniDivyanshKaranKamal
5Program 5NormanDivyanshKaranKamal
6Program 6KrishnaVinitKaranKamal
7Program 7KrisSriGauravKamal
8Program 8VarunSriGauravKamal
9Program 9ChuckSriGauravKamal
10Program 10CarmenSriGauravKamal
11Program 11ShubhamAlexGauravKamal
12Program 12AnjaliAlexGauravKamal
13Program 13JohnAlexGauravKamal
14Program 14RohanAlexGauravKamal

 

Here, Kamal is level 1 employee, Karan & Gaurav are level 2 employees and so on..

 

RLS logic,

1. Kamal can see all of the data of the organization.

2. Karan & Gaurav can see only those programs data which comes under them.

Example: Gaurav can see Alex and Sri's data as well as Kris, Varun, Chuck, Carmen, Shubham, Anjali, John & Rohan's data.

3. Similarly for Level 3 & Level 4 employees.

 

So, this is the scenario. I hope, I've explained it properly.

 

Please suggest me how I can implement this. 

 

Thanks in advance!

 

Regards,

Gaurav

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@Gaurav_Lakhotia Have you reviewed this post? Dynamic Hierarchical Row Level Security - Microsoft Power BI Community


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@Gaurav_Lakhotia Have you reviewed this post? Dynamic Hierarchical Row Level Security - Microsoft Power BI Community


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Thank you for the solution @Greg_Deckler.

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.