Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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
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!
Solved! Go to Solution.
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.
Result:
2. Select [Predeccesor1], [Predeccesor2], [Predeccesor3] three columns – Transform – Unpivot Columns.
3. Select [Successor 1], [Successor 2], [Successor 3] three columns – Transform – Unpivot Columns.
Result:
4. Result:
Into the matrix.
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
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.
Result:
2. Select [Predeccesor1], [Predeccesor2], [Predeccesor3] three columns – Transform – Unpivot Columns.
3. Select [Successor 1], [Successor 2], [Successor 3] three columns – Transform – Unpivot Columns.
Result:
4. Result:
Into the matrix.
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
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 34 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 71 | |
| 38 | |
| 35 | |
| 25 |