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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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...

 

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...

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.