I've a table as under:
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)
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
@dollarvora , refer if this can help
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.