March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello Guys,
I have a report with a row level security.
If i export data from a table in power bi desktop the row level works and the csv is filtered right.
However, while testing different users in the power bi app, the exported data will not be filtered right and the user can see all data without any restrictions in the export.
Does anyone know if this is just in the testing because im the admin of the workspace or will this be the final behaviour for the users in our app?
BEst regards
Solved! Go to Solution.
Hello @schaetzles!
You are right this should be due to your role as the Admin in the workspace. Any role except the Viewer role will not have RLS applied to them. From the documentation:
"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. Read more about roles in workspaces."
Row-level security (RLS) with Power BI - Power BI | Microsoft Learn
Try to create a user with the viewer role and see if RLS applies.
Best,
MatthiasPaul
Hello @schaetzles!
You are right this should be due to your role as the Admin in the workspace. Any role except the Viewer role will not have RLS applied to them. From the documentation:
"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. Read more about roles in workspaces."
Row-level security (RLS) with Power BI - Power BI | Microsoft Learn
Try to create a user with the viewer role and see if RLS applies.
Best,
MatthiasPaul
RLS only works if users are Viewers. If they have Contribution, Member, or Admin rights, they can see everything anyway as they have direct access to the datasets and RLS doesn't kick in.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingMarch 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
32 | |
24 | |
12 | |
11 | |
9 |
User | Count |
---|---|
47 | |
46 | |
23 | |
12 | |
9 |