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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.