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
crjackson
Helper I
Helper I

Dynamic RLS

Hello! I am trying to set up dynamic RLS for some of my reports. I can't seem to get it to work. I have followed several videos, and they all seem to say that you need to cross-filter "both" and apply the security filter; however, when I set up the role [email] = USERPRINCIPALNAME(), it gives this error message and won't let me go further. I have the userprincipalname() function and set up a dimension table with their username, emp. ID and email. When I proceed without the security filter, the role doesn't work. 

 

crjackson_0-1683333307191.png

crjackson_1-1683333413105.pngcrjackson_2-1683333535826.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @crjackson ,

Please try to set the cross filter direction as "Single" and check if it still get the error message.

vyiruanmsft_0-1683520229660.png

In addition, please refer the content in the following blog to get it.

Dynamic Row Level Security with Profiles and Users in Power BI : Many-to-Many Relationship - RADACAD

vyiruanmsft_1-1683520309351.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @crjackson ,

Please try to set the cross filter direction as "Single" and check if it still get the error message.

vyiruanmsft_0-1683520229660.png

In addition, please refer the content in the following blog to get it.

Dynamic Row Level Security with Profiles and Users in Power BI : Many-to-Many Relationship - RADACAD

vyiruanmsft_1-1683520309351.png

Best Regards

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.