Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
I have a dimension department table that filter the factstable. One ofthis table is the sales pr employee. How can I create a RLS where the manager of a department can see the sales of ALL department but not sales of the employees of other departments, only his or or possibly some other departments?
So show all sales on the aggregated departmentlevel but RLS only on specific employees.
Hi @Anonymous ,
The first thing to make this successful would be that your data actually is separated that way so it is possible. You have to be able to slice your data in that manner or RLS won't work.
Assuming that your data can be sliced in that manner, you just create roles that have both department and employee filters. Then, in the Service, you put that manager into the apropriate two roles - the one that can see those department(s) that you want and the employee(s) that you want.
Proud to be a Datanaut!
Private message me for consulting or training needs.
I end up in making new calculations based on userprinciplename. Duplicate/seperate data would be to much.
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.