Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have a Power BI report with P&L data at the customer, country and region level. I received a request to
- restrict sales managers' access based on customer, country and region. For example; when sales manager X opens the report, he should only see customer Y data in Europe
- business leaders need to be able to see the whole unfiltered report
I am not sure how to go about setting this up. Any help is greatly appreciated.
Thank you
Solved! Go to Solution.
@Anonymous , What I usually do is I get email and list off access of county in one table and email and list of customer and configure RLS on both using userprincipalname
Business leader should have access to all locations/country
Hi, @Anonymous
Has the user been assigned a role other than "Viewer" in the workspace? RLS cannot take effect on roles (admins, members, contributors) that have access to dataset.
Best Regards,
Community Support Team _ Eason
@Anonymous , What I usually do is I get email and list off access of county in one table and email and list of customer and configure RLS on both using userprincipalname
Business leader should have access to all locations/country
@amitchandak Country level RLS is no longer required. It's only region and customer. I setup two different tables as you mentioned connected to the respective main tables in the report with cross filter direction "both" and two way security enabled.
Table 1 - User email and region (connected to the main region table in the report)
Table 2 - User email and customer (connected to the main customer table)
Under modelling, I created a role with filters on table 1 and table 2 -> User email = userprincipalname(). I then published the report and added users to the role under security in the dataset. However, the users are still able to see all the data. Please advise.
Hi, @Anonymous
Has the user been assigned a role other than "Viewer" in the workspace? RLS cannot take effect on roles (admins, members, contributors) that have access to dataset.
Best Regards,
Community Support Team _ Eason
@v-easonf-msft The users were assigned to the 'member' role. I updated it to 'viewer' and RLS is working. Thanks for your input!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 23 |