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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cjanow3
Regular Visitor

Dynamic RLS based on GROUP

I have a few tables I'm interested in adding dynamic RLS to, but have mainly found examples illustrating how to do it based on user.  I have four relevant tables: Plan, User, Team and TeamMembership.  Each plan is owned by one (and only one) team, and a team is comprised of at least one user.  There exists an intersectional entity TeamMembership as each user can belong to many teams, and each team can have many users.  There are about 100 users and about 30 or so teams, so manually setting this up and maintaing would be cumbersome.  How can I properly set up dynamic RLS so that each user can see the plans owned by all the teams they belong to?! 

 

cjanow3_0-1612813573966.png

 

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @cjanow3 ,


First make sure that the correct relationship is established between the tables. Then set the contents of the plan table that different users can access by "Manage Role" in the desktop. For details, please refer to the following official documents, I hope to help you: 

Row-level security (RLS) with Power BI - Power BI | Microsoft Docs

Restrict data access with row-level security (RLS) for Power BI Desktop - Power BI | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.