This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 49 | |
| 47 | |
| 40 | |
| 21 | |
| 18 |