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
Anonymous
Not applicable

Use Dynamic RLS and Static for same table

Greeting,

 

I have a Store table that contain ID, Market

I already have static roles for each Market, now i am trying to add a Dynamic RLS which is for Regional and District Managers.

 

I added Users (Emails) and UsersGroups (Emails, StoreID) tables and made the relationship between UserGroup and Store through the Stores ID as (UsersGroup)Many -> (Stores)One. Now when I make the Cross filter direction to Both and tick Apply security filter in both directions I get the following error:

 

Table 'Stores' is configured for row-level security, introducing constraints on how security filters are specifed. The setting for Security Filter Behavior on relationship 'cbfa****' cannot be Both.image.png

 

2 REPLIES 2
m3tr01d
Continued Contributor
Continued Contributor

For this kind of error, it might help us to give us a picture of the model with the relationship. 
Even better, if you can provide a sample file with the same model.

vanessafvg
Super User
Super User

do you have the same security filter on both tables?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.