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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors