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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

RLS issue

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.

 

4 REPLIES 4
Anonymous
Not applicable

thank you so much for your response, however I did add the username there. Please see the image. thanks 

Rads25_0-1673019649704.png

 

You need to setup a role under Modeling - Manage roles, see below sample from my report:

RLSid17_0-1673021421298.png


I used the expression USERPRINCIPALNAME() to compare the email address of the assigned user.

RLSid17
Helper III
Helper III

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:

RLSid17_0-1673015172248.png


I hope this helps! As I've encountered this previously.

Anonymous
Not applicable

thank you so much for your response, however I did add the username there. Please see the image. thanks 

Rads25_0-1673019795192.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.