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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
crjackson
Frequent Visitor

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
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.