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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Jabbajuice
Frequent Visitor

Parent/Child Hierarchies visual with multiple parents

So I'm trying to utilize one of the hierarchy visuals by creating parent/child hierarchies using the PATH function within DAX. 

Basically, I'm dealing with scheduling data laid out similar to this :

 

Task ID |   Predeccesor | Successor

1              5,6,8              4

2              8,12,20          22, 25

3              X, X, X           X,X

4             X                    X,X,X

 

Each Task in my data set has multiple predeccesors and successors and I want to find a way to create a hierarchy visual connecting all these tasks together somehow. I tried splitting the pred. and succ. by commas into rows, but then the PATH function didn't work because the Task ID showed up multiple times in the dataset. I also am not sure how to get the pred. and succ. to show up as seperate numbers without splitting them by comma.

 

Is there a way to set this up to make the PATH function work? Or is there another way I can do this to make a hierarchy visual work? 

 

Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Jabbajuice ,

Here are the steps you can follow:

1. Enter the Power query and split the columns [Predeccesor] and [Successor] respectively.

Home – Split column – By Delimiter.

vyangliumsft_0-1654745028981.png

vyangliumsft_1-1654745028982.png

Result:

vyangliumsft_2-1654745028983.png

2. Select [Predeccesor1], [Predeccesor2], [Predeccesor3] three columns – Transform – Unpivot Columns.

vyangliumsft_3-1654745028985.png

3. Select [Successor 1], [Successor 2], [Successor 3] three columns – Transform – Unpivot Columns.

vyangliumsft_4-1654745028986.png

Result:

vyangliumsft_5-1654745028987.png

4. Result:

Into the matrix.

vyangliumsft_6-1654745028990.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @Jabbajuice ,

Here are the steps you can follow:

1. Enter the Power query and split the columns [Predeccesor] and [Successor] respectively.

Home – Split column – By Delimiter.

vyangliumsft_0-1654745028981.png

vyangliumsft_1-1654745028982.png

Result:

vyangliumsft_2-1654745028983.png

2. Select [Predeccesor1], [Predeccesor2], [Predeccesor3] three columns – Transform – Unpivot Columns.

vyangliumsft_3-1654745028985.png

3. Select [Successor 1], [Successor 2], [Successor 3] three columns – Transform – Unpivot Columns.

vyangliumsft_4-1654745028986.png

Result:

vyangliumsft_5-1654745028987.png

4. Result:

Into the matrix.

vyangliumsft_6-1654745028990.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Anonymous
Not applicable

In order for the Hierarchy to appear on the visuals, one way to accomplish it would be creating groups and subgoups of 'Task'. And then, right click on Task parent and click create herarchy.  Once created, add the child groups to this herarchy, and use it on charts to show you the breakdown.

adambal_1-1654564573099.png

 

adambal_0-1654564516169.png

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.