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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JoergSch
Frequent Visitor

Hierarchy Table

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):

IDName
1Task 1
2Task 2
3Task 3
4Task 4
5Task 5
6Task 6
7Task 7

 

Table 2 (LINKS)

PARENTCHILD
12
23
24
56

 

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 1Task 2Task 3 
Task 1Task 2Task 4 
Task 5Task 6  
Task 7   

 

Hopefully someone could help to guide into the right direction.

 

Many thanks

 

Joerg

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@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

https://radacad.com/parsing-organizational-hierarchy-or-chart-of-accounts-in-power-bi-with-parent-ch...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@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

https://radacad.com/parsing-organizational-hierarchy-or-chart-of-accounts-in-power-bi-with-parent-ch...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.