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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
ptmuldoon
Resolver I
Resolver I

Dyanamic RLS with Groups

I am trying to learn and set up user permissions using dynamic RLS, yet can't seem to to get it working correctly.  I've treid following the various samples (and videos) from google searches, but still stuck.

 

 I'm currently working with 5 tables.

 

1.  UsersTable, this contains a the email (UPN) and a 'SiteGroup'.

2. A "SiteGroups" Table.  This is just a list of all the groups available.

3. A  "SiteLists" Table.  This lists all of the SiteTags associated with each group.

4. A "Dim Sites" Table that is a list of all SiteTags available.

5. A data table

 

Below is the general model showing the relationships.  

ptmuldoon_0-1706792639821.png

 

I have setup a role called Permissions with the DAX of [email] = USERPRINCIPALNAME()

 

I can create a card and see the correct UPN of myself, and have changed the 'ViewAs" to another email address and see that card change as well.

 

But the data never filters down to only what the user should be able to see for their "SiteGroup"

 

I thinking/guessing this has maybe something to do with the data model and relationships?

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

In a default join (1:*) the filter only flows from the 1 to the many.  You would have to make these two relationships bi-directional in order for your user table to filter the data table.

jdbuchanan71_0-1706793749797.png

 

View solution in original post

2 REPLIES 2
ptmuldoon
Resolver I
Resolver I

Sweet!!.   That did the trick!!

jdbuchanan71
Super User
Super User

In a default join (1:*) the filter only flows from the 1 to the many.  You would have to make these two relationships bi-directional in order for your user table to filter the data table.

jdbuchanan71_0-1706793749797.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.