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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi, there is a dynamic RLS in my report.
Some can see all locations' data, some can only see 1 specific location.
There are ~50 locations in total.
VAR _Role = MAXX(FILTER('Table', 'Table'[UserName] = userprincipalname() ), 'Table'[location])
RETURN
IF (_Role = "All", TRUE(),
[UserName] = userprincipalname() )
Since the users will be keep increasing, in this case, is it possible I can create a secuirty group including all ppl in my company, while still applying the RLS rule? and how to do that? thanks.
Solved! Go to Solution.
Hi @Anonymous ,
In the Power BI service, you can add a member to the role by typing in the email address or name of the user or security group. You can't add Groups created in Power BI. You can add members external to your organization.
You can use the following groups to set up row level security.
Note, however, that Office 365 groups are not supported and cannot be added to any roles.
More details: Row-level security (RLS) with Power BI
I have also found a similar post, please refer to it to see if it helps you.
Dynamic RLS with AD Security Groups - best practices and app sharing?
If I have misunderstood your meaning, please provide more details.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
In the Power BI service, you can add a member to the role by typing in the email address or name of the user or security group. You can't add Groups created in Power BI. You can add members external to your organization.
You can use the following groups to set up row level security.
Note, however, that Office 365 groups are not supported and cannot be added to any roles.
More details: Row-level security (RLS) with Power BI
I have also found a similar post, please refer to it to see if it helps you.
Dynamic RLS with AD Security Groups - best practices and app sharing?
If I have misunderstood your meaning, please provide more details.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.