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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
javier-martinez
New Member

Row Level Security Issue

Hi everyone,

 

I'm facing a problem applying a Row Level Security to my report. I have create a Rol where I filter the Countries depend on the user email.

javiermartinez_0-1668006913687.png

And when I click on test a role it works.

Then when I publish the report on the workspace I can see the Role created.

javiermartinez_1-1668007518216.png

 

But the issue comes when anyone opens it and It is not filtered by the country of the person who is watching it. It is as if the role had not been applied.

 

Do you know if i have to change anything on my workspace/report/database settings?

 

Thank you,

Regards.

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @javier-martinez ;

This is probably happening because the user (test user) has access to the workspace as either an Admin, Member or Contributor. These Workspace users are NOT subject to RLS so will see all data. You need to user to be a "Viewer" in the Workspace to be subject to RLS. Go to the Access options in the workspace and set the test user to "Viewer".
if not right,can you share your simple data and result what you want to output?


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @javier-martinez ;

This is probably happening because the user (test user) has access to the workspace as either an Admin, Member or Contributor. These Workspace users are NOT subject to RLS so will see all data. You need to user to be a "Viewer" in the Workspace to be subject to RLS. Go to the Access options in the workspace and set the test user to "Viewer".
if not right,can you share your simple data and result what you want to output?


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.