Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi All,
I wonder if you could provide some guidance on the issue that I am facing with RLS in power BI. RLS is restricting the view only when I do a dataset > security > test as role, but then when I click the main report the RLS doesn't seem to be working, so the whole purpose of RLS restricting data to assigned user is not at all working on the main report.
Could you suggest if I am missing on something here please. Thanks in advance for your help.
thank you so much for your response, however I did add the username there. Please see the image. thanks
You need to setup a role under Modeling - Manage roles, see below sample from my report:
I used the expression USERPRINCIPALNAME() to compare the email address of the assigned user.
In the Dataset where you published the report, click on the 3 dots and click on Security, there you will need to input the email address of the assigned user:
I hope this helps! As I've encountered this previously.
thank you so much for your response, however I did add the username there. Please see the image. thanks
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 19 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 60 | |
| 52 | |
| 47 | |
| 40 | |
| 38 |