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.
Need Help .
Below is the DAX Expression I am using to see Data for Manager and his Team.
I need to only see Team data and not the manager himself.
PATHCONTAINS(Table[C_org Heirarchy],
MaxX(
Filter(
Table,
[Person_EmailAddress]=USERPRINCIPALNAME()
)
Table[Person_EmpID]
)
)
I have a calculated column forC_org_Hierarchy
C_org Heirarchy = PATH(Table[Person_EmpID],Table[Person_Reports_to_EmpID])
Solved! Go to Solution.
Hi @Anonymous ,
You can add a filter condition.
PATHCONTAINS ( Table[C_org Heirarchy], MAXX ( EXCEPT ( FILTER ( Table, [Person_EmailAddress] = USERPRINCIPALNAME () ), FILTER ( Table, [Person_EmailAddress] = "Manager email address" ) ), Table[Person_EmpID] ) )
Hi @Anonymous ,
You can add a filter condition.
PATHCONTAINS ( Table[C_org Heirarchy], MAXX ( EXCEPT ( FILTER ( Table, [Person_EmailAddress] = USERPRINCIPALNAME () ), FILTER ( Table, [Person_EmailAddress] = "Manager email address" ) ), Table[Person_EmpID] ) )
you for that.However , get an error msg : "Too many Arguments were passed in MAXX"
Below is how my expression looks
PATHCONTAINS(Table[C_org Heirarchy],
MaxX(
EXCEPT(
Filter(
Table,
[Person_Corp_EmailAddress]=USERPRINCIPALNAME()
|| [Person_EmailAddress]=USERPRINCIPALNAME()
),
FILTER ( Table, [Person_EmailAddress] = Table[Person_ReportsTo_Email])),
,Table[Person_EmpID]
)
)
This is not helping because Person_EmailAdress = Persons Manager email address
will not eliminate the manager as he will show up under his manager's name so they will not match
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 |
---|---|
116 | |
102 | |
78 | |
76 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |