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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
pylon350
New Member

Manager Level Security with Two Tables applying Dynamic Row Level Security

Hello everyone! 

 

I need help implementing a Dynamic Row Level Security on two different tables to filter by managers. The RLS should be applied to give permission for high level users to be able to see all data while the public can only see the noncofidential documents. The first table contains the management information such as the email and if they are allowed to see confidential documents or not, and the other table conatins the documents in one column and their confidentiality status in another column. 

 

pylon350_0-1688057403577.png

"Y" in the first table indicates if the person should be able to see confidential documents, and "Y" in the second table indicates if the document is confidential, and vice versa. 

 

The two tables are connected with a many-to-many cardinality through [confidential] column, as follows:

pylon350_1-1688057599553.png

 

I created two roles, one for the public to not show the confidential docs and confidential role to show them.

The DAX expressions are: 

 

pylon350_2-1688057726146.pngpylon350_3-1688057737947.png

 

This is working only if I view it as Public or Confidential; however, when I am trying to put an email address to view it as another person, it is not working as it supposed to be. Same thing after I published it. 

 

Could you please tell me what I am doing wrong? Could it be the users filter expression is not applied properly because I'm only filtering Table 2? 

Is there a way to overcome this issue? 

 

Thank you in advance 

 

0 REPLIES 0

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors