Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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.
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
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 Admin, Member, 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 Admin, Member, 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
Proud to be a Super User!
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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
87 | |
84 | |
65 | |
49 |
User | Count |
---|---|
140 | |
114 | |
110 | |
59 | |
59 |