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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.