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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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