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
pawel_osipowski
Frequent Visitor

dynamic RLS based on three columns no hierarchy but overlapping

Hi,

I have three identical tables (middle) but each with different username column added for dynamic RLS purpose. No hierarchy among these added columns but they overlapp.

pawel_osipowski_1-1620314131564.png

Each datatable stats are featured on separate pages (security here as well) and done by datatable specific measures. 

When I assign username to security profile for one of these tables (on dedicated page) limited data is visible but when I assign username to more than one security profile RLS no longer works and all data is visible (page security works). Profile example here:

 

 pawel_osipowski_0-1620314001792.png

What would be solution to keep security per user regardless of security profile numbers username is assigned to? 

 

2 REPLIES 2
v-robertq-msft
Community Support
Community Support

Hi, @pawel_osipowski 

According to your description, do you mean that you added one username to more than roles in the RLS?

 

In this case, RLS filters become additive. It means report users can see table rows that represent the union of those filters. You can refer to this link:

https://sqlskull.com/2021/02/19/row-level-security-rls-in-power-bi/

 

Maybe switching to the Dynamic Row Level Security with Organizational Hierarchy can be a choice for you:

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi

https://radacad.com/dynamic-row-level-security-in-power-bi-with-organizational-hierarchy-and-multipl...

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

Hi @v-robertq-msft , this is my case but I don't have hierarchy, more of two independent username sets to be used in RLS which intersect. When one username is added to more than one report security groups RLS stops to work and all is visible for the 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.