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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Ofiro1234
New Member

Path function parent multiple values

Hello everyone
In the organization I work for, an employee can move from one manager to another manager in some period of time, so I need to find a solution that will allow creating a new hierarchy path based on a date. Is it possible?

here is an example:

DateManagerIdPerson Id
01/01/2022 1
01/01/2022    12
01/01/2022    13
01/01/2022    24
02/01/2022    34

for this scenario, I would except to get that path:

PathDateManagerIdPerson Id
101/01/2022 1
1|201/01/2022    12
1|301/01/2022    13
1|2|401/01/2022    24
1|3|402/01/2022    34

The path function doesnt let me build a path because some of my values got more than one parent, like person id '4' in this example.

Thank You.

3 REPLIES 3
TomMartens
Super User
Super User

Hey @Ofiro1234 ,

 

you can't create this for a simple reason: it's not possible that a child has multiple parents.

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Thank you for your response.

do you know if there is any other solution for this scenario? maybe without the path function.

Hello did you find a solution? I have the same problem. Some employees belong to 2 different departments so they have 2 managers so they have duplicated values in my table.

Thank you

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.