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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
How can I set RLS to only allow specific users. Ideally I'd like to allow only managers to view only their data, which I can do with username. However I'd also like to allow some specific people to view everyone's data. How do I allow both...and if I can't, I'd rather have it where those specific people can view everyone's data
Hi @paguy215 ,
In Power BI, you can achieve your desired Row-Level Security (RLS) setup by creating different roles with specific filters.
You can create two roles like Basic User Role and Head Office Role.
Basic User Role filters data based on the user’s department, Head Office Role can create a second role with no filters. Add the head office users to this role in PowerBI.com. They will be able to view all data unrestrictedly.
Also if you don’t have a security group for head office users, you can keep all settings in Power BI Desktop, then you can use a DAX filter in the RLS.
All Users Role =
VAR _Role =
MAXX (
FILTER ( UsersTable, UsersTable[UserEmail] = USERNAME () ),
UsersTable[Department]
)
RETURN
IF ( _Role = "Head Office", TRUE (), [UserEmail] = USERNAME () )
You can read this topic for a further study: Solved: RLS - Allow certain users to see all. - Microsoft Fabric Community
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Remember that if you have conflicting RLS rules applied to the same user then the more permissive rule wins.
Create a Role where the RLS rule simply states "TRUE()" and put these people under that role.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |