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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Frahmani
New Member

How to create Hierarchies that has multiple branches across rows/columns

I have a scenario in which I m developing a hierarchy from multiple columns.  I have pulled the columns that are need for the  hierarchy development in the table below.

 

Frahmani_0-1721194769080.png

The hierarchy should look like below.

HRCHY_PARENT_WP >> HRCHY_PARENT_ASSNMNT>>HRCHY_WP1>>HRCHY_assnmnt1>>HRCHY_WP2>>HRCHY_Assnmnt2

 

I tried PATH functions to create hierarchy but this scenario has data across 4 columns I'm unable to achieve that. 

 

Is there anyworkaround to create a hierachy like this,. Thanks in advance for the help.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Frahmani ,

 

You may need to combine 4 columns of data into 2 columns to turn it into a data model similar to the one shown below:

vtianyichmsft_0-1721292194265.png

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

4 REPLIES 4
Frahmani
New Member

@Anonymous Also, could you please let me know how to combine those 4 column data to a 2 column data. Thanks.

Anonymous
Not applicable

Hi @Frahmani ,

 

This might have to be modified from the underlying data source.

 

Best regards,
Community Support Team_ Scott Chang

Frahmani
New Member

Thank you for the solution. 

Anonymous
Not applicable

Hi @Frahmani ,

 

You may need to combine 4 columns of data into 2 columns to turn it into a data model similar to the one shown below:

vtianyichmsft_0-1721292194265.png

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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