Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I'd like to use the path function to identify the name of the manager of an employee in the employee table. It seems that path fuction only works when employee table is used as dimention table (one employee appear only once) and not in employee change table where an employee appears multiple times for the change in departments and roles. Please could you let me know how I can utilize path function in conjunction with the employee change table where employee appear more than once for changes in departments and roles during their tenure?
pathfunctions in DAX works when you have a child having 1 and only one parent .
they can't handle child that has mutliple parents
this means :
child parent
4 2
3 2
2 1
1
the above logic will work
however :
child parent
4 2
3 2
3 1
2 1
1
wont work .
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution ✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠
Thank you @Daniel29195 for a clear concise explanation. It is basically like no many-to-many relationship is allowed. Is this an appropriate analogy? The thing is, in real life, employees' managers change over time period and I am trying to visualize this fact using Power BI over time dimension. I am thinking of experimenting by concatenating with change effective date field to correctly link the manager path of employees according to the time dimension. If you have any other method to achieve this, please let me know.
Thank you.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
26 | |
26 |
User | Count |
---|---|
100 | |
87 | |
45 | |
43 | |
35 |