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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
mana_d
Frequent Visitor

How to apply Dynamic RLS in location hierarchy and user access, with many to many relationship

Hi All,

I am new to power BI DRLS, would like some help in below scenario.

Scenario: One user can have access to many locations and one location can be access by many user.

For example User A can access sales data for Edinburgh, Glasgow & Bristol and user B can access Glasgow, London & Bristol

Location table: This table has four level hierarchy MD > Country > Region > City, path column has been populated by  DAX PATH ()

LocationLocation

User Table: This Table contain user and their email id

UserUser

User_profile Table: This is bridge table and hold relationship between user and their location, with many to many relationship. One user can have access to many location and one location can be access by many users.

User_ProfileUser_Profile

Fact_Sales Table: This contain sales data at location (City) level.

Fact SalesFact Sales

data_Mdata_M

 

Can someone please help to implement DRLS in this scenario?

 

Many Thanks

2 REPLIES 2
Anonymous
Not applicable

@mana_d,

I never tried but you could take a look at this article to see if it helps

Hi @Anonymous

 

Thanks for your reply, the article which you referred is different from my scenario. IT does not include hierarchy with M-2-M relationship.

 

Regards

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors