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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

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.

3 REPLIES 3
dtjdtj
Frequent Visitor

hello, can someone confirm if RLS works with 'Read' permissions only (share the report with the end user instead of adding the end user as Viewer in the workspace)?

Thanks

pratyashasamal
Super User
Super User

Hi @Anonymous ,
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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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