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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

RLS causes that the users not in RLS group can't access the data

Hi, there,

 

I created an RLS group by precisely following the instructions https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls.

  • I have an existing report "REPORT A" and it has a user "USER X" and a group "GROUP Y" with "viewer" permission.
  • Create a role "ROLE B" in "REPORT A" in PowerBI Desktop
  • Set a DAX filter on a field of the table for this role
  • Publish it to the PowerBI service
  • Add an SG "RLS_SG" to the role "ROLE B" in the PowerBI service security tab
  • Add "USER Z" to SG "RLS_SG"

Then I find:

  • "USER Z" can only access the rows secured by "ROLE B" as expected
  • However, "USER X" and the users in "GROUP Y" can't access "REPORT A" due to an error "The report can't be viewed because the underlying dataset uses row-level security (RLS)"

What causes this error? The instruction https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls doesn't mention the existing users and groups added before RLS, and I assume the right design is keeping those viewers' access as it is. Am I wrong? How can I fix this issue?

 

Hao

1 ACCEPTED SOLUTION
Tutu_in_YYC
Super User
Super User

USER X and GROUP Y have to be assigned with an RLS Role. If these 2 are allowed to see all data in REPORT A, you still need to create an RLS role without any data filter in it and assign it to USER X and GROUP Y.

Basically, if a report has RLS, only those with assigned RLS roles can access it.

View solution in original post

2 REPLIES 2
Tutu_in_YYC
Super User
Super User

USER X and GROUP Y have to be assigned with an RLS Role. If these 2 are allowed to see all data in REPORT A, you still need to create an RLS role without any data filter in it and assign it to USER X and GROUP Y.

Basically, if a report has RLS, only those with assigned RLS roles can access it.

Anonymous
Not applicable

Thanks @Tutu_in_YYC ! I make it as an accepted solution.

 

It is so sad I can't see this important information on the PowerBI documentation, even the screenshots used in the document all have only one RLS role which may make the people misused it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.