Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
dollarvora
Helper I
Helper I

Seguridad dinámica a nivel de fila repartida en varias columnas

Tengo una mesa como debajo:

Nombre del empleadoGerente Lvl1Gerente Lvl2Gerente Lvl3Ventas
ALYZ1
BMYZ2
CLYZ3
DMYZ1
ENYZ3
FNYZ2
GOYZ5

Pude crear un mapa de relaciones usando el script de aquí:

https://stackoverflow.com/questions/64202169/creating-an-employee-manager-relationship-table?noredir...

Así que la tabla de relaciones se ve como en: (tabla de empleados)

https://i.stack.imgur.com/X3ONs.png

Mi principal preocupación es cómo dejo que cualquier Empleado o Cualquier Gerente de cualquier nivel vea la hoja con sólo las VENTAS que les pertenece

Traté de usar la consulta :


PATHCONTAINS(employee[Merged],Maxx(Filter(employee, Column1 ? USERPRINCIPALNAME()), employee[Index]))

Pero produce el siguiente error:

La sintaxis de [Merged] es incorrecta

Realmente apreciaría si pudiera dejarme cómo lo arreglo y también cómo agredo todos los empleados y gerentes a sus roles

Gracias



1 REPLY 1

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors