cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sskinner Frequent Visitor
Frequent Visitor

Power BI RLS or Permissions not working correctly - Failed to import Data

Hi,

I have set up RLS as per the following link (Filtering Data through DAX):

https://radacad.com/dynamic-row-level-security-with-profiles-and-users-in-power-bi

 

Below is some screen shots of how this is set up in Power BI Desktop:

Image1.png

Image2.png

 

This has been tested in Power BI Desktop and all works fine as intended (Rows of data are filtered depending on the user):

Before using ‘View as role’:

Image3.png

 

During ‘View as role’ – This was showing the correct results:

Image4.png

 

Below is how its set up up in Power BI Service:

 

- User name/email has been added to Row-Level Security (Dataset – Security):

Image5.png

 

- User has access to the dataset – Permission = Viewer (Dataset – Manage Permissions): 
Image6.png

 

- User has read access to the report:

Image7.png

 

 

BUT....We are getting the following error:
Image8.pngImage9.png

 

Can someone please HELP as im new to Power BI - This is working in Power BI Desktop....But not working correctly in Power BI Service!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
sskinner Frequent Visitor
Frequent Visitor

Re: Power BI RLS or Permissions not working correctly - Failed to import Data

Turns out my example is working as expected.
I got a new tester and everything is working..!
Use my example as a working example - tried and tested

View solution in original post

2 REPLIES 2
Community Support
Community Support

Re: Power BI RLS or Permissions not working correctly - Failed to import Data

Hi @sskinner ,

 

Could the user "Ryan Green" see the report properly in Service if you remove RLS?

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Highlighted
sskinner Frequent Visitor
Frequent Visitor

Re: Power BI RLS or Permissions not working correctly - Failed to import Data

Turns out my example is working as expected.
I got a new tester and everything is working..!
Use my example as a working example - tried and tested

View solution in original post

Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors