cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Question on RLS Security in PowerBI Desktop

Hello all

Newbie on Powerbi. 

Question on RLS in powerbi desktop. I have a simple tabular report that has all the records for all the countries.

  I have a table and have a role 'Geography' created for condition Geography = "Canada".  I get the records filtered based on the role., when I 'View as Role' or  'Test as Role'.  I add my email to this role.  When Published, I see  allthe records on Workspace, logged in as me .  I was expecting  the filtered rows to be displayed, based on the role. 

Am I missing something here?  Thanks in advance

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Question on RLS Security in PowerBI Desktop

RLS doesn't apply to you as a developer. Take yourself out of that role, put a regular user in there, and then have them test the role on the service. On the desktop you can test as role but you will also have to specify the user's email address in the "Other User"  test bucket.

View solution in original post

Highlighted
Helper II
Helper II

Re: Question on RLS Security in PowerBI Desktop

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: Question on RLS Security in PowerBI Desktop

RLS doesn't apply to you as a developer. Take yourself out of that role, put a regular user in there, and then have them test the role on the service. On the desktop you can test as role but you will also have to specify the user's email address in the "Other User"  test bucket.

View solution in original post

Highlighted
Helper II
Helper II

Re: Question on RLS Security in PowerBI Desktop

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors