cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mbz0319
Helper I
Helper I

Access to PowerBI dataset with Row Level Security

Hello PowerBI gurus,

 

Hope you all are doing well. I have a query with row-level security (RLS) applied to one of my powerbi datasets, hope you can shed some light on it.

 

Scenario:

 

I have a power dataset that is used in multiple reports and is published in a different workspace (ex workspace A, B). I want to apply  RLS to the dataset and publish it to a new workspace (say S) for a use case. 

 

Problem:

The problem I am facing is now people who had access to reports in Workspace A & B are not able to access the report as they are not part of the RLS group and it throws an error saying the underlying dataset has RLS applied, please contact the owner. They are able to access the report only if we give them access to entire workspace, which we dont want to do.

 

I had to duplicate the dataset and apply RLS to the new one and publish it to workspace S and and publish dataset without RLS in A & B. Now we have ended up with 2 datasets which looks exactly similar.

 

I want to know if there is any workaorund in providing accees to the user to report which uses dataset with RLS applied.

 

Thanks for your time.

2 REPLIES 2
pratyashasamal
Solution Sage
Solution Sage

Hi @mbz0319 ,
If you publish your Power BI Desktop report to a workspace in the Power BI service, the RLS roles are applied to members who are assigned to the Viewer role in the workspace. Even if Viewers are given Build permissions to the dataset, RLS still applies. For example, if Viewers with Build permissions use Analyze in Excel, their view of the data will be protected by RLS. Workspace members assigned AdminMember, or Contributor have edit permission for the dataset and, therefore, RLS doesn’t apply to them. If you want RLS to apply to people in a workspace, you can only assign them the Viewer role .
You can simply assign user AdminMember, or Contributor roles and they can access it .
Thanks ,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

Hi Pratyasha, Thanks for taking the time to respond. Instead of giving the users Viewer access, is it possible to give them access to a specific report which is built out of dataset which has RLS

 

Helpful resources

Announcements
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors