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
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 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