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

The Fabric community is now in read-only for platform upgrade. Learn more

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.

DM_W
Frequent Visitor

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

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.