Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I've a table as under:
Employee Name | Manager Lvl1 | Manager Lvl2 | Manager Lvl3 | SALES |
A | L | Y | Z | 1 |
B | M | Y | Z | 2 |
C | L | Y | Z | 3 |
D | M | Y | Z | 1 |
E | N | Y | Z | 3 |
F | N | Y | Z | 2 |
G | O | Y | Z | 5 |
I was able to create a relationship map using the script from here:
https://stackoverflow.com/questions/64202169/creating-an-employee-manager-relationship-table?noredir...
So the relationship table looks like as under: (employee table)
https://i.stack.imgur.com/X3ONs.png
My main concern is how do I let any Employee or Any manager from any level view the sheet with only the SALES that pertains to them
I tried using the query :
PATHCONTAINS(employee[Merged],Maxx(Filter(employee, Column1 = USERPRINCIPALNAME()), employee[Index]))
But it throws the following error:
The syntax for [Merged] is incorrect
Would really appreciate if you could let me how do I fix it and also how do I add all the Employee's and Managers to their Roles
Thanks
@dollarvora , refer if this can help
https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |