Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have three tables:
1. Costcenters
2. Staff
3. RightsStaffCostcenters
I have two relations:
RightsStaffCostcenters has an m:n relation to Costcenters (one staff/manager can have the rights the see the employee data of multiple costcenters)
Costcenters has 1:n relation to Staff (1 employee is assigned to 1 costcenter but one costcenter can have multiple employees)
Let´s say, one manager has the rights to see the staff data of two costcenters.
When create a manual filter in the filter pane for the RightsStaffCostcenters table to the StaffId of the manger, my staff visual show all employees of the these two costcenters.
Now, I do not want to filter manually but using RLS. Now, when the manager logs in he sees only the employee data of one costcenter.
[StaffId]=LOOKUPVALUE(Staff[StaffId], Staff[EMail], CONCATENATE(LEFT(USERPRINCIPALNAME(), FIND("@", USERPRINCIPALNAME())), "xxx.de"))
Can someone help me with this?
Thanks and merry christmas to everyone
BR Christian
@negi007 Thanks a lot for your offer to help! That is what I was initially hoping for 🙂 However, as I want to learn things by myself, let me please first go through the article sent by and try it by myself as this seems to cover my issues @amitchandak .
I will come back to you.
Thx Christian
@_chris_, You should follow an approach like
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |