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
PMXMX
New Member

Conditional/Multi-Layered Row-Level-Security

Hi Power BI Community,

 

I am having trouble figuring out a multi-layered, dynamic RLS problem. Essentially, I have a table of transactions and employee email adresses. I also have another table of employee emails and their departments.

Depending on which department the user belongs to, I want to provide them with either:

  1. Access to their own transactions only
  2. Access to 1 or more department's transactions

 

How do I go about implementing this?

1 REPLY 1
amitchandak
Super User
Super User

@PMXMX , You need to have a department dimension. And Department should be filtered using department email table and on department email table configure rls role

 

email = userprincipalname()

 

Power BI- Row Level Security: Handle ALL, UserPrincipalName: https://youtu.be/KVLEnIUo4pc

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.