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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
treatas
Regular Visitor

Filtering the 1 side of the relationship ("many-to-1") in PowerBI datamodel

 
Hi everyone,
 

I am working on setting up RLS on the territory table of the dataset I am working on. My RLS table contains all the possible combinations of UserEmail and authorized TerritoryID.

 

I want to link RLS table so that the P0_Id filter flows into the Territory table, but end up with a many-to-one relationship. Here are the different approaches I tried so far:

 

Directly linking the RLS to Territory

 
treatas_11-1701779649617.png

 

1 staging table

treatas_12-1701779667392.png
 

2 staging tables

treatas_13-1701779703103.png

 

I feel like I am close to getting my RLS table to flow into the Territory table, but I can't get my head around how to contournate the directional filtering issue.

 

TLDR: Has anyone had experience with making the many side of a "many-to-1" relationship filter the single side of the relationship ? either using helper tables, or with another approach ? especially in the context of setting RLS at datamodel level

 

Thanks for reading!

1 REPLY 1
lbendlin
Super User
Super User

That's a rather unfortunate situation. Don't bother with the bridge tables.  Consider splitting the RLS table into two. At a minimum make sure that the security flows both ways too.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors