Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I need to build up a hierarchy table visual which shows me a task and its subtasks, whic could have multiple levels.
I have 2 tables.
Table 1 (Tasks):
| ID | Name |
| 1 | Task 1 |
| 2 | Task 2 |
| 3 | Task 3 |
| 4 | Task 4 |
| 5 | Task 5 |
| 6 | Task 6 |
| 7 | Task 7 |
Table 2 (LINKS)
| PARENT | CHILD |
| 1 | 2 |
| 2 | 3 |
| 2 | 4 |
| 5 | 6 |
Task 1 has a child (2), which has 2 childs (3 and 4). Task 5 has a child (6). Task 7 has no child.
Result:
| Task 1 | Task 2 | Task 3 | |
| Task 1 | Task 2 | Task 4 | |
| Task 5 | Task 6 | ||
| Task 7 |
Hopefully someone could help to guide into the right direction.
Many thanks
Joerg
Solved! Go to Solution.
@JoergSch , merge table 1 and 2 using ID and Child in Power query
: https://radacad.com/append-vs-merge-in-power-bi-and-power-query
Then use path in DAX to get it
example of path
@JoergSch , merge table 1 and 2 using ID and Child in Power query
: https://radacad.com/append-vs-merge-in-power-bi-and-power-query
Then use path in DAX to get it
example of path
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 |
|---|---|
| 46 | |
| 31 | |
| 29 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |