cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pennyfan1031
New Member

Data is not restricted after applying RLS

I have a master data table and a user group dimension table. And they are joint together in the data model. The use case is, I want to give certain viewer only partial data visiablity to a specific group(usergroup). I was trying to do so by applying RLS (row level security).  

pennyfan1031_1-1623360038061.png

 

For example, I created a role where group(aka. usergroup, a column in user group dimension table) = "Technical Team". 

pennyfan1031_0-1623359659507.png

 

Then I tested this role by 'View As' function. You can see from the screenshot, the drop down content of group(usergroup) slicer is indeed being limited to "Technical Team". However, the data didn't actually change or say being limited until I clicked on "Technical Team". For some reason, this Role is working superficially, not restricting the data in an automated way.

Screen Shot 2021-06-10 at 4.43.53 PM.png

1 REPLY 1
d_gosbell
Super User II
Super User II

The filtering of the data in a role flows along the relationships in your model. So if the role is not working as you expect it could be because there is an issue with the way your relationships are setup. What is the relationship between the group table and whatever fact table you are looking at?

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!