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
mejaybird
Regular Visitor

Optimizing RLS Access: Unifying Country, organization and Legal Access in a Multi-Level Structure

I possess an RLS access table containing country, legal, and organization columns. In this table, opco represents level 2, and sub-opco is designated as level 3 within the same column for RLS. However, in the dimension table, these levels are represented in separate columns. Users may have multiple RLS accesses to data. When I apply ALL RLS in a single role, it grants access to data with all filters combined. Nevertheless, my objective is to provide users with access to the entire country and all data related to legal aspects in a unified manner. likeacb@dff have access to data related to Pacific scientific and electronic corporation and [email protected] have access to all  data related  to electronic corporation and all data related to United states.

Security.png

 

rls modeing in power bi as dim_segment can not be connected  with two relationshiprls modeing in power bi as dim_segment can not be connected with two relationshiprls modeling query.png

2 REPLIES 2
Anonymous
Not applicable

Hi @mejaybird 

 

Based on your description, I have some questions. Does all data have corresponding Organization, Legal and Country information? Like [email protected], he doesn't have any organization and country information in your RLS table, does this mean that he can have access to data related to Pacific scientific and electronic corporation in all organizations and countries? Like [email protected], does he have access to data related to electronic corporation in all countries or only in United States, or data in other scopes? 

 

Besides, I found a blog that looks similar to your scenario. You may read it through the following link first to check whether it can be applied to your report. 

Dynamic Row Level Security in Power BI: Managing Multiple Roles | by Michal Kulikowski | Nov, 2023 |...

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

The email address [email protected] is granted access to information concerning the electronic corporation across all countries, as well as all data specifically related to the United States.
The email address [email protected] is authorized to access information pertaining to Legal Pacific Scientific matters across all organizations and countries.

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